Commit 65ee88c9 authored by Sachin Kamat's avatar Sachin Kamat Committed by Linus Torvalds

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7deef7f2
...@@ -460,11 +460,6 @@ static int wm831x_rtc_probe(struct platform_device *pdev) ...@@ -460,11 +460,6 @@ static int wm831x_rtc_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int wm831x_rtc_remove(struct platform_device *pdev)
{
return 0;
}
static const struct dev_pm_ops wm831x_rtc_pm_ops = { static const struct dev_pm_ops wm831x_rtc_pm_ops = {
.suspend = wm831x_rtc_suspend, .suspend = wm831x_rtc_suspend,
.resume = wm831x_rtc_resume, .resume = wm831x_rtc_resume,
...@@ -478,7 +473,6 @@ static const struct dev_pm_ops wm831x_rtc_pm_ops = { ...@@ -478,7 +473,6 @@ static const struct dev_pm_ops wm831x_rtc_pm_ops = {
static struct platform_driver wm831x_rtc_driver = { static struct platform_driver wm831x_rtc_driver = {
.probe = wm831x_rtc_probe, .probe = wm831x_rtc_probe,
.remove = wm831x_rtc_remove,
.driver = { .driver = {
.name = "wm831x-rtc", .name = "wm831x-rtc",
.pm = &wm831x_rtc_pm_ops, .pm = &wm831x_rtc_pm_ops,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment