]> 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)
commit097d5c2c32e250fddab690b154bfad143416f7c3
tree28598a94561d548bf42300d2ed137e8a54572b2f
parent000e5ec945846871c8f416eafad8b357ba53253b
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