diff options
Diffstat (limited to 'drivers/rtc/rtc-at91sam9.c')
-rw-r--r-- | drivers/rtc/rtc-at91sam9.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index e981798e9a9b..39cfd2ee0042 100644 --- a/drivers/rtc/rtc-at91sam9.c +++ b/drivers/rtc/rtc-at91sam9.c | |||
@@ -289,7 +289,7 @@ static const struct rtc_class_ops at91_rtc_ops = { | |||
289 | /* | 289 | /* |
290 | * Initialize and install RTC driver | 290 | * Initialize and install RTC driver |
291 | */ | 291 | */ |
292 | static int __devinit at91_rtc_probe(struct platform_device *pdev) | 292 | static int at91_rtc_probe(struct platform_device *pdev) |
293 | { | 293 | { |
294 | struct resource *r, *r_gpbr; | 294 | struct resource *r, *r_gpbr; |
295 | struct sam9_rtc *rtc; | 295 | struct sam9_rtc *rtc; |
@@ -387,7 +387,7 @@ fail: | |||
387 | /* | 387 | /* |
388 | * Disable and remove the RTC driver | 388 | * Disable and remove the RTC driver |
389 | */ | 389 | */ |
390 | static int __devexit at91_rtc_remove(struct platform_device *pdev) | 390 | static int at91_rtc_remove(struct platform_device *pdev) |
391 | { | 391 | { |
392 | struct sam9_rtc *rtc = platform_get_drvdata(pdev); | 392 | struct sam9_rtc *rtc = platform_get_drvdata(pdev); |
393 | u32 mr = rtt_readl(rtc, MR); | 393 | u32 mr = rtt_readl(rtc, MR); |
@@ -463,7 +463,7 @@ static int at91_rtc_resume(struct platform_device *pdev) | |||
463 | 463 | ||
464 | static struct platform_driver at91_rtc_driver = { | 464 | static struct platform_driver at91_rtc_driver = { |
465 | .probe = at91_rtc_probe, | 465 | .probe = at91_rtc_probe, |
466 | .remove = __devexit_p(at91_rtc_remove), | 466 | .remove = at91_rtc_remove, |
467 | .shutdown = at91_rtc_shutdown, | 467 | .shutdown = at91_rtc_shutdown, |
468 | .suspend = at91_rtc_suspend, | 468 | .suspend = at91_rtc_suspend, |
469 | .resume = at91_rtc_resume, | 469 | .resume = at91_rtc_resume, |