Commit 65ee88c9c68ad533463d1030d2abd859d7a4d9f9
Committed by
Linus Torvalds
1 parent
7deef7f298
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
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>
Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff
drivers/rtc/rtc-wm831x.c
... | ... | @@ -460,11 +460,6 @@ |
460 | 460 | return ret; |
461 | 461 | } |
462 | 462 | |
463 | -static int wm831x_rtc_remove(struct platform_device *pdev) | |
464 | -{ | |
465 | - return 0; | |
466 | -} | |
467 | - | |
468 | 463 | static const struct dev_pm_ops wm831x_rtc_pm_ops = { |
469 | 464 | .suspend = wm831x_rtc_suspend, |
470 | 465 | .resume = wm831x_rtc_resume, |
... | ... | @@ -478,7 +473,6 @@ |
478 | 473 | |
479 | 474 | static struct platform_driver wm831x_rtc_driver = { |
480 | 475 | .probe = wm831x_rtc_probe, |
481 | - .remove = wm831x_rtc_remove, | |
482 | 476 | .driver = { |
483 | 477 | .name = "wm831x-rtc", |
484 | 478 | .pm = &wm831x_rtc_pm_ops, |