diff options
Diffstat (limited to 'drivers/rtc/rtc-wm831x.c')
-rw-r--r-- | drivers/rtc/rtc-wm831x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-wm831x.c b/drivers/rtc/rtc-wm831x.c index ea5c6f857ca5..1b0affbe2659 100644 --- a/drivers/rtc/rtc-wm831x.c +++ b/drivers/rtc/rtc-wm831x.c | |||
@@ -459,7 +459,7 @@ err: | |||
459 | return ret; | 459 | return ret; |
460 | } | 460 | } |
461 | 461 | ||
462 | static int __devexit wm831x_rtc_remove(struct platform_device *pdev) | 462 | static int wm831x_rtc_remove(struct platform_device *pdev) |
463 | { | 463 | { |
464 | struct wm831x_rtc *wm831x_rtc = platform_get_drvdata(pdev); | 464 | struct wm831x_rtc *wm831x_rtc = platform_get_drvdata(pdev); |
465 | int alm_irq = platform_get_irq_byname(pdev, "ALM"); | 465 | int alm_irq = platform_get_irq_byname(pdev, "ALM"); |
@@ -483,7 +483,7 @@ static const struct dev_pm_ops wm831x_rtc_pm_ops = { | |||
483 | 483 | ||
484 | static struct platform_driver wm831x_rtc_driver = { | 484 | static struct platform_driver wm831x_rtc_driver = { |
485 | .probe = wm831x_rtc_probe, | 485 | .probe = wm831x_rtc_probe, |
486 | .remove = __devexit_p(wm831x_rtc_remove), | 486 | .remove = wm831x_rtc_remove, |
487 | .driver = { | 487 | .driver = { |
488 | .name = "wm831x-rtc", | 488 | .name = "wm831x-rtc", |
489 | .pm = &wm831x_rtc_pm_ops, | 489 | .pm = &wm831x_rtc_pm_ops, |