]> 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, 12 Oct 2011 06:32:28 +0000 (17:32 +1100)
commitf4d3663cfed058c52241ecb54ee9c5da68a360ae
tree83e48862d781f7b34f15dfae80639d238ae71442
parentde972a14f70379ed54a5b80188821fbc581af06e
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