diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-03 18:07:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:57 -0400 |
commit | b1fb593b782eeab2cf4282f17d58a4939dbef126 (patch) | |
tree | 9ebc10ea4509cf9ebcceacf893735c618eb8482e | |
parent | af99ef9ccc60c2ba1c43604259fee75eaa932c82 (diff) |
drivers/rtc/rtc-pcf8563.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-pcf8563.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c index 97b354a26a44..9ea2d078ea4c 100644 --- a/drivers/rtc/rtc-pcf8563.c +++ b/drivers/rtc/rtc-pcf8563.c | |||
@@ -269,11 +269,6 @@ static int pcf8563_probe(struct i2c_client *client, | |||
269 | return 0; | 269 | return 0; |
270 | } | 270 | } |
271 | 271 | ||
272 | static int pcf8563_remove(struct i2c_client *client) | ||
273 | { | ||
274 | return 0; | ||
275 | } | ||
276 | |||
277 | static const struct i2c_device_id pcf8563_id[] = { | 272 | static const struct i2c_device_id pcf8563_id[] = { |
278 | { "pcf8563", 0 }, | 273 | { "pcf8563", 0 }, |
279 | { "rtc8564", 0 }, | 274 | { "rtc8564", 0 }, |
@@ -296,7 +291,6 @@ static struct i2c_driver pcf8563_driver = { | |||
296 | .of_match_table = of_match_ptr(pcf8563_of_match), | 291 | .of_match_table = of_match_ptr(pcf8563_of_match), |
297 | }, | 292 | }, |
298 | .probe = pcf8563_probe, | 293 | .probe = pcf8563_probe, |
299 | .remove = pcf8563_remove, | ||
300 | .id_table = pcf8563_id, | 294 | .id_table = pcf8563_id, |
301 | }; | 295 | }; |
302 | 296 | ||