rtc: mxc_v2: remove __exit annotation
authorArnd Bergmann <arnd@arndb.de>
Tue, 2 Jan 2018 09:43:33 +0000 (10:43 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 11 Jan 2018 23:20:40 +0000 (00:20 +0100)
commitdb00d38e7b59ae913cfa10f1c40bf656a969fb82
treef798efec66f23fc8f51e564dda029c9ab04b0ce5
parenta9c705a8bd52d8a5205cc779d6e64af4321a9fa8
rtc: mxc_v2: remove __exit annotation

The mxc_rtc_remove is incorrectly annotated as __exit:

`mxc_rtc_remove' referenced in section `.data' of drivers/rtc/rtc-mxc_v2.o: defined in discarded section `.exit.text' of drivers/rtc/rtc-mxc_v2.o

This should not be done, as devices can be dynamically bound
and unbound to a driver.

Fixes: 54c47014b474 ("rtc: add mxc driver for i.MX53 SRTC")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-mxc_v2.c