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)
commit4ceb73ae5a09416e040bce8bcfa7218dc5149ad8
tree984fbf2395d7169d5b64e7e88c7fefabb8961653
parent19f949f52599ba7c3f67a5897ac6be14bfcb1200
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