OpenCloudOS-Kernel/drivers/isdn/hardware
Yang Yingliang bf00f54260 isdn: mISDN: netjet: fix wrong check of device registration
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: a900845e56 ("mISDN: Add support for Traverse Technologies NETJet PCI cards")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-11-02 12:34:48 +00:00
..
mISDN isdn: mISDN: netjet: fix wrong check of device registration 2022-11-02 12:34:48 +00:00
Makefile isdn: move capi drivers to staging 2019-05-31 11:17:41 +02:00