diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-03 18:07:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:59 -0400 |
commit | 65ee88c9c68ad533463d1030d2abd859d7a4d9f9 (patch) | |
tree | e0a60ae5d18066e3582f8ef44ce4a53a0f693b76 | |
parent | 7deef7f2983209b3bb34cbda91e1080f3e43d74a (diff) |
drivers/rtc/rtc-wm831x.c: remove empty function
After the switch to devm_* functions and the removal of
rtc_device_unregister(), the 'remove' function does not do anything.
Delete it.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/rtc/rtc-wm831x.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-wm831x.c b/drivers/rtc/rtc-wm831x.c index 8d65b94e5a7e..75aea4c4d334 100644 --- a/drivers/rtc/rtc-wm831x.c +++ b/drivers/rtc/rtc-wm831x.c | |||
@@ -460,11 +460,6 @@ err: | |||
460 | return ret; | 460 | return ret; |
461 | } | 461 | } |
462 | 462 | ||
463 | static int wm831x_rtc_remove(struct platform_device *pdev) | ||
464 | { | ||
465 | return 0; | ||
466 | } | ||
467 | |||
468 | static const struct dev_pm_ops wm831x_rtc_pm_ops = { | 463 | static const struct dev_pm_ops wm831x_rtc_pm_ops = { |
469 | .suspend = wm831x_rtc_suspend, | 464 | .suspend = wm831x_rtc_suspend, |
470 | .resume = wm831x_rtc_resume, | 465 | .resume = wm831x_rtc_resume, |
@@ -478,7 +473,6 @@ static const struct dev_pm_ops wm831x_rtc_pm_ops = { | |||
478 | 473 | ||
479 | static struct platform_driver wm831x_rtc_driver = { | 474 | static struct platform_driver wm831x_rtc_driver = { |
480 | .probe = wm831x_rtc_probe, | 475 | .probe = wm831x_rtc_probe, |
481 | .remove = wm831x_rtc_remove, | ||
482 | .driver = { | 476 | .driver = { |
483 | .name = "wm831x-rtc", | 477 | .name = "wm831x-rtc", |
484 | .pm = &wm831x_rtc_pm_ops, | 478 | .pm = &wm831x_rtc_pm_ops, |