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, 2 Nov 2011 20:37:56 +0000 (13:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Nov 2011 23:06:58 +0000 (16:06 -0700)
commitdb5cf8d1ac4ac3fa06d89345154ce20068aeb097
tree005495c7dc31ab072226b076c44083a1b08da8d9
parent43fcb81550f7a16be192b19c77a379c9b27b1585
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-mc13xxx.c