Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 860e13b5 authored by Arnaud Patard's avatar Arnaud Patard Committed by David S. Miller
Browse files

[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: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 37e97b4e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -348,7 +348,7 @@ int __init bt_sysfs_init(void)
	return 0;
	return 0;
}
}


void __exit bt_sysfs_cleanup(void)
void bt_sysfs_cleanup(void)
{
{
	class_destroy(bt_class);
	class_destroy(bt_class);