]> git.karo-electronics.de Git - karo-tx-linux.git/commit
power: supply: twl4030_charger: remove incorrect __exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 1 Mar 2017 23:44:53 +0000 (15:44 -0800)
committerSebastian Reichel <sre@kernel.org>
Thu, 13 Apr 2017 23:41:33 +0000 (01:41 +0200)
commit420b2d443b7ee2a6a8c0d4fab887a641f83e76af
tree31505767e5741ea8689d9bb4518db035ca7dffe1
parentf7a388d6cd1ccebfe7d2850ae4d33f84e954e96b
power: supply: twl4030_charger: remove incorrect __exit markups

Even if bus is not hot-pluggable, the devices can be unbound from the
driver via sysfs, so we should not be using __exit annotations on
remove() methods. The only exception is drivers registered with
platform_driver_probe() which specifically disables sysfs bind/unbind
attributes.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/twl4030_charger.c