]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: omap: remove incorrect __exit markups
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 1 Mar 2017 23:33:23 +0000 (15:33 -0800)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 9 Mar 2017 00:32:31 +0000 (01:32 +0100)
commitb9de1a1dae8c78de05a59e40632aa8241ef78e1a
tree28598a94561d548bf42300d2ed137e8a54572b2f
parentff764b88e63a097a6a8383f0f1f76e7fa5a5e096
rtc: omap: remove incorrect __exit markups

Even if bus is not hot-pluggable, 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>
Reviewed-By: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-omap.c