aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-spear.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-spear.c')
-rw-r--r--drivers/rtc/rtc-spear.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-spear.c b/drivers/rtc/rtc-spear.c
index 141fc945295f..c2121b5a01f2 100644
--- a/drivers/rtc/rtc-spear.c
+++ b/drivers/rtc/rtc-spear.c
@@ -351,7 +351,7 @@ static struct rtc_class_ops spear_rtc_ops = {
351 .alarm_irq_enable = spear_alarm_irq_enable, 351 .alarm_irq_enable = spear_alarm_irq_enable,
352}; 352};
353 353
354static int __devinit spear_rtc_probe(struct platform_device *pdev) 354static int spear_rtc_probe(struct platform_device *pdev)
355{ 355{
356 struct resource *res; 356 struct resource *res;
357 struct spear_rtc_config *config; 357 struct spear_rtc_config *config;
@@ -425,7 +425,7 @@ err_disable_clock:
425 return status; 425 return status;
426} 426}
427 427
428static int __devexit spear_rtc_remove(struct platform_device *pdev) 428static int spear_rtc_remove(struct platform_device *pdev)
429{ 429{
430 struct spear_rtc_config *config = platform_get_drvdata(pdev); 430 struct spear_rtc_config *config = platform_get_drvdata(pdev);
431 431
@@ -499,7 +499,7 @@ MODULE_DEVICE_TABLE(of, spear_rtc_id_table);
499 499
500static struct platform_driver spear_rtc_driver = { 500static struct platform_driver spear_rtc_driver = {
501 .probe = spear_rtc_probe, 501 .probe = spear_rtc_probe,
502 .remove = __devexit_p(spear_rtc_remove), 502 .remove = spear_rtc_remove,
503 .suspend = spear_rtc_suspend, 503 .suspend = spear_rtc_suspend,
504 .resume = spear_rtc_resume, 504 .resume = spear_rtc_resume,
505 .shutdown = spear_rtc_shutdown, 505 .shutdown = spear_rtc_shutdown,