rtc-pcf2123: move pcf2123_remove to .devexit.text
authorUwe Kleine-König <[email protected]>
Fri, 5 Mar 2010 21:44:21 +0000 (13:44 -0800)
committerLinus Torvalds <[email protected]>
Sat, 6 Mar 2010 19:26:47 +0000 (11:26 -0800)
The function pcf2123_remove is used only wrapped by __devexit_p so define
it using __devexit.

Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Alessandro Zummo <[email protected]>
Cc: Christian Pellegrin <[email protected]>
Cc: Chris Verges <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-pcf2123.c

index e75df9d50e27243e444a7c7c09ee6ef192eb6344..2ceb365533b2a3d8d0701753a4e54716dccefb81 100644 (file)
@@ -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;