OSDN Git Service

gpio: gpio-tb10x: remove incorrect __exit markup
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Mar 2015 18:04:09 +0000 (11:04 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Mar 2015 10:25:23 +0000 (11:25 +0100)
commitb8a51a2e8a9f8e24f8f155772168a7ca35ce7f75
tree0b3c022b7ac16edd06785fedc77638cc81b4357b
parent17d33a450a776c0ce6c3659e1154396dc1eecba8
gpio: gpio-tb10x: 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: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tb10x.c