]> git.baikalelectronics.ru Git - kernel.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)
commit8177969ee98885ee2029f1991cf71f309c4d920d
tree28598a94561d548bf42300d2ed137e8a54572b2f
parent96c92b1ba3905f1ae67cab9750a633520e9d9082
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