aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-07-03 18:07:17 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 19:07:56 -0400
commit53ac70aa4dbfa08005768aafeb1420ca101f0642 (patch)
treea7332fd0d4ad93c024f032be5978e34189fa6c91
parentb943abd37ea2209acb0076f2a2fc590a053d15c1 (diff)
drivers/rtc/rtc-ds1672.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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/rtc/rtc-ds1672.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-ds1672.c b/drivers/rtc/rtc-ds1672.c
index 3fc2a4738027..18e2d8471472 100644
--- a/drivers/rtc/rtc-ds1672.c
+++ b/drivers/rtc/rtc-ds1672.c
@@ -153,11 +153,6 @@ static const struct rtc_class_ops ds1672_rtc_ops = {
153 .set_mmss = ds1672_rtc_set_mmss, 153 .set_mmss = ds1672_rtc_set_mmss,
154}; 154};
155 155
156static int ds1672_remove(struct i2c_client *client)
157{
158 return 0;
159}
160
161static int ds1672_probe(struct i2c_client *client, 156static int ds1672_probe(struct i2c_client *client,
162 const struct i2c_device_id *id) 157 const struct i2c_device_id *id)
163{ 158{
@@ -210,7 +205,6 @@ static struct i2c_driver ds1672_driver = {
210 .name = "rtc-ds1672", 205 .name = "rtc-ds1672",
211 }, 206 },
212 .probe = &ds1672_probe, 207 .probe = &ds1672_probe,
213 .remove = &ds1672_remove,
214 .id_table = ds1672_id, 208 .id_table = ds1672_id,
215}; 209};
216 210