]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: db8500-prcmu - remove incorrect __exit markup
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 25 Feb 2013 03:26:25 +0000 (19:26 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 1 Mar 2013 06:04:44 +0000 (06:04 +0000)
commitd8abfd8b2b32558505940fc044ea45fa99dc1faa
tree984fbf2395d7169d5b64e7e88c7fefabb8961653
parentef28e4318d2f74158f4f6779ac8906c88440cf76
regulator: db8500-prcmu - remove incorrect __exit markup

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: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/db8500-prcmu.c