aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-03 18:07:21 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 19:07:56 -0400
commit0814023b1c8b5f1f8ead68e0df161bcdedf83c1f (patch)
treeb10472451d3024220b1923037894ff1f6edaf1bb
parent2a7a145e787a900cca5939c52d2df78c20b7b4de (diff)
drivers/rtc/rtc-fm3130.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: Sergey Lapin <slapin@ossfans.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/rtc/rtc-fm3130.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-fm3130.c b/drivers/rtc/rtc-fm3130.c
index 8f053daf0f0c..83c3b3029fa7 100644
--- a/drivers/rtc/rtc-fm3130.c
+++ b/drivers/rtc/rtc-fm3130.c
@@ -520,18 +520,12 @@ exit_free:
520 return err; 520 return err;
521} 521}
522 522
523static int fm3130_remove(struct i2c_client *client)
524{
525 return 0;
526}
527
528static struct i2c_driver fm3130_driver = { 523static struct i2c_driver fm3130_driver = {
529 .driver = { 524 .driver = {
530 .name = "rtc-fm3130", 525 .name = "rtc-fm3130",
531 .owner = THIS_MODULE, 526 .owner = THIS_MODULE,
532 }, 527 },
533 .probe = fm3130_probe, 528 .probe = fm3130_probe,
534 .remove = fm3130_remove,
535 .id_table = fm3130_id, 529 .id_table = fm3130_id,
536}; 530};
537 531