diff options
Diffstat (limited to 'net/bluetooth/hci_sysfs.c')
-rw-r--r-- | net/bluetooth/hci_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hci_sysfs.c index 7ad6ecf36f20..edf623a29043 100644 --- a/net/bluetooth/hci_sysfs.c +++ b/net/bluetooth/hci_sysfs.c | |||
@@ -590,7 +590,7 @@ int __init bt_sysfs_init(void) | |||
590 | 590 | ||
591 | bt_class = class_create(THIS_MODULE, "bluetooth"); | 591 | bt_class = class_create(THIS_MODULE, "bluetooth"); |
592 | 592 | ||
593 | return PTR_RET(bt_class); | 593 | return PTR_ERR_OR_ZERO(bt_class); |
594 | } | 594 | } |
595 | 595 | ||
596 | void bt_sysfs_cleanup(void) | 596 | void bt_sysfs_cleanup(void) |