]> 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)
commit2bde12480382fa372ea97a3e0f1302ab7270389f
tree31505767e5741ea8689d9bb4518db035ca7dffe1
parenta32d0f5b9818eec6ad0ec3e5dc05decea35c4eae
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