diff options
Diffstat (limited to 'drivers/rtc/rtc-rs5c348.c')
-rw-r--r-- | drivers/rtc/rtc-rs5c348.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-rs5c348.c b/drivers/rtc/rtc-rs5c348.c index fd5c7af04ae5..72ef10be8662 100644 --- a/drivers/rtc/rtc-rs5c348.c +++ b/drivers/rtc/rtc-rs5c348.c | |||
@@ -152,7 +152,7 @@ static const struct rtc_class_ops rs5c348_rtc_ops = { | |||
152 | 152 | ||
153 | static struct spi_driver rs5c348_driver; | 153 | static struct spi_driver rs5c348_driver; |
154 | 154 | ||
155 | static int __devinit rs5c348_probe(struct spi_device *spi) | 155 | static int rs5c348_probe(struct spi_device *spi) |
156 | { | 156 | { |
157 | int ret; | 157 | int ret; |
158 | struct rtc_device *rtc; | 158 | struct rtc_device *rtc; |
@@ -218,7 +218,7 @@ static int __devinit rs5c348_probe(struct spi_device *spi) | |||
218 | return ret; | 218 | return ret; |
219 | } | 219 | } |
220 | 220 | ||
221 | static int __devexit rs5c348_remove(struct spi_device *spi) | 221 | static int rs5c348_remove(struct spi_device *spi) |
222 | { | 222 | { |
223 | struct rs5c348_plat_data *pdata = spi->dev.platform_data; | 223 | struct rs5c348_plat_data *pdata = spi->dev.platform_data; |
224 | struct rtc_device *rtc = pdata->rtc; | 224 | struct rtc_device *rtc = pdata->rtc; |
@@ -235,7 +235,7 @@ static struct spi_driver rs5c348_driver = { | |||
235 | .owner = THIS_MODULE, | 235 | .owner = THIS_MODULE, |
236 | }, | 236 | }, |
237 | .probe = rs5c348_probe, | 237 | .probe = rs5c348_probe, |
238 | .remove = __devexit_p(rs5c348_remove), | 238 | .remove = rs5c348_remove, |
239 | }; | 239 | }; |
240 | 240 | ||
241 | module_spi_driver(rs5c348_driver); | 241 | module_spi_driver(rs5c348_driver); |