Re: [PATCH 1/3] rtc: stm32: remove __exit annotation on remove callback

2017-01-13 Thread Alexandre Belloni
On 13/01/2017 at 16:32:51 +0100, Arnd Bergmann wrote : > The remove function can be called at runtime for a manual 'unbind' > operation and must not be left out from a built-in driver, as kbuild > complains: > > `stm32_rtc_remove' referenced in section `.data.stm32_rtc_driver' of > drivers/rtc/rt

[PATCH 1/3] rtc: stm32: remove __exit annotation on remove callback

2017-01-13 Thread Arnd Bergmann
The remove function can be called at runtime for a manual 'unbind' operation and must not be left out from a built-in driver, as kbuild complains: `stm32_rtc_remove' referenced in section `.data.stm32_rtc_driver' of drivers/rtc/rtc-stm32.o: defined in discarded section `.exit.text' of drivers/rt