]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-mc13xxx.c: move probe and remove callbacks to .init.text and .exit...
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 5 Oct 2011 00:43:43 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Oct 2011 07:56:05 +0000 (18:56 +1100)
commit3dfd616c7490af513c27ab8e67e40dc42c1d75ce
tree0c766380661d57c7cfd07b6495083c50b12370aa
parentf10767f1de39e00e7cfc004b8ff8c500e9c5d1e3
drivers/rtc/rtc-mc13xxx.c: move probe and remove callbacks to .init.text and .exit.text

The driver is added using platform_driver_probe(), so the callbacks can be
discarded more aggessively.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-mc13xxx.c