diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-03 18:07:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:55 -0400 |
commit | 0df2c54e8e3e7befb7a484d55d781b4e6ba17d83 (patch) | |
tree | 75a7ae4b181dea37924762d9fb7b80b3d3b356f2 | |
parent | 52c1b7a74c6d1cebac4402beaa7c59bf5ea4b433 (diff) |
drivers/rtc/rtc-ds1216.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: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/rtc/rtc-ds1216.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-ds1216.c b/drivers/rtc/rtc-ds1216.c index c7702b7269f7..1831c8461b90 100644 --- a/drivers/rtc/rtc-ds1216.c +++ b/drivers/rtc/rtc-ds1216.c | |||
@@ -167,17 +167,11 @@ static int __init ds1216_rtc_probe(struct platform_device *pdev) | |||
167 | return 0; | 167 | return 0; |
168 | } | 168 | } |
169 | 169 | ||
170 | static int __exit ds1216_rtc_remove(struct platform_device *pdev) | ||
171 | { | ||
172 | return 0; | ||
173 | } | ||
174 | |||
175 | static struct platform_driver ds1216_rtc_platform_driver = { | 170 | static struct platform_driver ds1216_rtc_platform_driver = { |
176 | .driver = { | 171 | .driver = { |
177 | .name = "rtc-ds1216", | 172 | .name = "rtc-ds1216", |
178 | .owner = THIS_MODULE, | 173 | .owner = THIS_MODULE, |
179 | }, | 174 | }, |
180 | .remove = __exit_p(ds1216_rtc_remove), | ||
181 | }; | 175 | }; |
182 | 176 | ||
183 | static int __init ds1216_rtc_init(void) | 177 | static int __init ds1216_rtc_init(void) |