aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-tps80031.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-03 18:07:43 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 19:07:58 -0400
commit7deef7f2983209b3bb34cbda91e1080f3e43d74a (patch)
tree71ace98bc1386dcc99e0bee1f3f3d2963289d354 /drivers/rtc/rtc-tps80031.c
parentd55b6643e54bdb0822c0db5c0b4dfc4d89c6b23d (diff)
drivers/rtc/rtc-tps80031.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> Cc: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-tps80031.c')
-rw-r--r--drivers/rtc/rtc-tps80031.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-tps80031.c b/drivers/rtc/rtc-tps80031.c
index 72662eafb938..3e400dce2d06 100644
--- a/drivers/rtc/rtc-tps80031.c
+++ b/drivers/rtc/rtc-tps80031.c
@@ -298,11 +298,6 @@ static int tps80031_rtc_probe(struct platform_device *pdev)
298 return 0; 298 return 0;
299} 299}
300 300
301static int tps80031_rtc_remove(struct platform_device *pdev)
302{
303 return 0;
304}
305
306#ifdef CONFIG_PM_SLEEP 301#ifdef CONFIG_PM_SLEEP
307static int tps80031_rtc_suspend(struct device *dev) 302static int tps80031_rtc_suspend(struct device *dev)
308{ 303{
@@ -333,7 +328,6 @@ static struct platform_driver tps80031_rtc_driver = {
333 .pm = &tps80031_pm_ops, 328 .pm = &tps80031_pm_ops,
334 }, 329 },
335 .probe = tps80031_rtc_probe, 330 .probe = tps80031_rtc_probe,
336 .remove = tps80031_rtc_remove,
337}; 331};
338 332
339module_platform_driver(tps80031_rtc_driver); 333module_platform_driver(tps80031_rtc_driver);