rtc: at91rm9200: annotate at91_rtc_remove with __exit again
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Oct 2023 04:18:16 +0000 (06:18 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 16 Oct 2023 04:33:00 +0000 (06:33 +0200)
commite2f57bf827697964ccacef5f69decc050f7d9e24
tree3f6967bdf986cc6cb8d2402ebbdfbce6850654d9
parentdc71c03b0a2937545d2c6ff89d2275890a309618
rtc: at91rm9200: annotate at91_rtc_remove with __exit again

Having the driver as a builtin after dropping the __exit annotation results
in:

>> drivers/rtc/rtc-at91rm9200.c:561:13: warning: 'at91_rtc_remove' defined but not used [-Wunused-function]
     561 | static void at91_rtc_remove(struct platform_device *pdev)
         |             ^~~~~~~~~~~~~~~

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310160705.vlElNOGb-lkp@intel.com/
Link: https://lore.kernel.org/r/20231016041816.246426-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-at91rm9200.c