OSDN Git Service

mfd: menelaus: Remove incorrect __exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Mar 2015 17:49:36 +0000 (10:49 -0700)
committerLee Jones <lee.jones@linaro.org>
Mon, 23 Mar 2015 11:47:38 +0000 (11:47 +0000)
commiteac8a5c91b9ec19abc770c62c375feeaceada2a4
tree28186a1dc4a7d5596e22c875c2fc08b31117edb2
parent7faff71bc94eb598328d315a37486f23d5febdf0
mfd: menelaus: 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>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/menelaus.c