diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-03 18:07:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:57 -0400 |
commit | eda328fbe3e1f82a12d56ffae3112086e2f1c578 (patch) | |
tree | 26c6ba61504626cff961e42dcc12f0ed367af31e /drivers/rtc/rtc-max77686.c | |
parent | 17d9e04c62c2980bf36c846541282204b22c1bf2 (diff) |
drivers/rtc/rtc-max77686.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: Chiwoong Byun <woong.byun@samsung.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-max77686.c')
-rw-r--r-- | drivers/rtc/rtc-max77686.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index 441c5c2e0bfc..9915cb96014b 100644 --- a/drivers/rtc/rtc-max77686.c +++ b/drivers/rtc/rtc-max77686.c | |||
@@ -567,11 +567,6 @@ err_rtc: | |||
567 | return ret; | 567 | return ret; |
568 | } | 568 | } |
569 | 569 | ||
570 | static int max77686_rtc_remove(struct platform_device *pdev) | ||
571 | { | ||
572 | return 0; | ||
573 | } | ||
574 | |||
575 | static void max77686_rtc_shutdown(struct platform_device *pdev) | 570 | static void max77686_rtc_shutdown(struct platform_device *pdev) |
576 | { | 571 | { |
577 | #ifdef MAX77686_RTC_WTSR_SMPL | 572 | #ifdef MAX77686_RTC_WTSR_SMPL |
@@ -610,7 +605,6 @@ static struct platform_driver max77686_rtc_driver = { | |||
610 | .owner = THIS_MODULE, | 605 | .owner = THIS_MODULE, |
611 | }, | 606 | }, |
612 | .probe = max77686_rtc_probe, | 607 | .probe = max77686_rtc_probe, |
613 | .remove = max77686_rtc_remove, | ||
614 | .shutdown = max77686_rtc_shutdown, | 608 | .shutdown = max77686_rtc_shutdown, |
615 | .id_table = rtc_id, | 609 | .id_table = rtc_id, |
616 | }; | 610 | }; |