From: Uwe Kleine-König Date: Fri, 5 Mar 2010 21:44:21 +0000 (-0800) Subject: rtc-pcf2123: move pcf2123_remove to .devexit.text X-Git-Tag: firefly_0821_release~9833^2~2868 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b51e8293182764ca7b1a1bdb28a5c5dc60152c76;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Alessandro Zummo Cc: Christian Pellegrin Cc: Chris Verges Cc: Paul Gortmaker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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: return ret; } -static int pcf2123_remove(struct spi_device *spi) +static int __devexit pcf2123_remove(struct spi_device *spi) { struct pcf2123_plat_data *pdata = spi->dev.platform_data; int i;