]> git.baikalelectronics.ru Git - kernel.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)
commitd1d0a123b1e063d5ea3d552c3f14d47b01193728
tree31505767e5741ea8689d9bb4518db035ca7dffe1
parent5cfbde6aa930ce003a26b43020188639da01043a
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