mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 17:12:55 +00:00
bf00f54260
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 |