diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-03-05 16:44:21 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 14:26:47 -0500 |
commit | b51e8293182764ca7b1a1bdb28a5c5dc60152c76 (patch) | |
tree | e6605d80b8948291acc7f754a5641ebe87d48896 /drivers/rtc/rtc-pcf2123.c | |
parent | b4877d2b3678f4455f2b8b0211868ac57c3b1ff6 (diff) |
rtc-pcf2123: move pcf2123_remove to .devexit.text
The function pcf2123_remove is used only wrapped by __devexit_p so define
it using __devexit.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Christian Pellegrin <chripell@fsfe.org>
Cc: Chris Verges <chrisv@cyberswitching.com>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-pcf2123.c')
-rw-r--r-- | drivers/rtc/rtc-pcf2123.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-pcf2123.c b/drivers/rtc/rtc-pcf2123.c index e75df9d50e27..2ceb365533b2 100644 --- a/drivers/rtc/rtc-pcf2123.c +++ b/drivers/rtc/rtc-pcf2123.c | |||
@@ -315,7 +315,7 @@ kfree_exit: | |||
315 | return ret; | 315 | return ret; |
316 | } | 316 | } |
317 | 317 | ||
318 | static int pcf2123_remove(struct spi_device *spi) | 318 | static int __devexit pcf2123_remove(struct spi_device *spi) |
319 | { | 319 | { |
320 | struct pcf2123_plat_data *pdata = spi->dev.platform_data; | 320 | struct pcf2123_plat_data *pdata = spi->dev.platform_data; |
321 | int i; | 321 | int i; |