[ Upstream commit bf00f5426074249058a106a6edbb89e4b25a4d79 ]
The class is set in mISDN_register_device(), but if device_add() returns
error, it will lead to delete a device without added, fix this by using
device_is_registered() to check if the device is registered.
Fixes:
|
||
|---|---|---|
| .. | ||
| capi | ||
| hardware | ||
| mISDN | ||
| Kconfig | ||
| Makefile | ||