[Bluetooth]: Fix section mismatch of bt_sysfs_cleanup()

The bt_sysfs_cleanup() is marked with __exit attribute, but it will
be called from an __init function in the error case. So the __exit
attribute must be removed.

Signed-off-by: Arnaud Patard <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Arnaud Patard 2006-09-28 15:29:37 -07:00 • committed by David S. Miller
commit 860e13b5c5

View file

@ -348,7 +348,7 @@ int __init bt_sysfs_init(void)
return 0;
}
void __exit bt_sysfs_cleanup(void)
void bt_sysfs_cleanup(void)
{
class_destroy(bt_class);