Re: [PATCH] rtc: asm9260: remove incorrect __init/__exit annotations

2016-03-19 Thread Alexandre Belloni
On 15/03/2016 at 22:44:31 +0100, Arnd Bergmann wrote : > The probe and remove callbacks of the platform driver are marked __init > and __exit, respectively. However, this is not a correct way to annotate > them, as it will result in those sections to be discarded at link time > or after boot, while

Re: [PATCH] rtc: asm9260: remove incorrect __init/__exit annotations

2016-03-16 Thread Oleksij Rempel
Am 16.03.2016 um 10:30 schrieb Alexandre Belloni: > Hi, > > On 15/03/2016 at 22:44:31 +0100, Arnd Bergmann wrote : >> The probe and remove callbacks of the platform driver are marked __init >> and __exit, respectively. However, this is not a correct way to annotate >> them, as it will result in th

Re: [PATCH] rtc: asm9260: remove incorrect __init/__exit annotations

2016-03-16 Thread Alexandre Belloni
Hi, On 15/03/2016 at 22:44:31 +0100, Arnd Bergmann wrote : > The probe and remove callbacks of the platform driver are marked __init > and __exit, respectively. However, this is not a correct way to annotate > them, as it will result in those sections to be discarded at link time > or after boot,

[PATCH] rtc: asm9260: remove incorrect __init/__exit annotations

2016-03-15 Thread Arnd Bergmann
The probe and remove callbacks of the platform driver are marked __init and __exit, respectively. However, this is not a correct way to annotate them, as it will result in those sections to be discarded at link time or after boot, while we can actually call them again based on manual unbinding, or