diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-07-03 18:06:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:53 -0400 |
commit | ce06cc82d7cb5445d0c01c980433ada4ab0f2847 (patch) | |
tree | eabe426e034529be2bfdad65f6d80eff0e6b7b1e | |
parent | 2fbbdb11f098d2c03677d1eb730bd55de18faa7a (diff) |
drivers/rtc/rtc-max8925.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: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/rtc/rtc-max8925.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-max8925.c b/drivers/rtc/rtc-max8925.c index 981b6544cf7c..951d1a78e190 100644 --- a/drivers/rtc/rtc-max8925.c +++ b/drivers/rtc/rtc-max8925.c | |||
@@ -288,11 +288,6 @@ static int max8925_rtc_probe(struct platform_device *pdev) | |||
288 | return 0; | 288 | return 0; |
289 | } | 289 | } |
290 | 290 | ||
291 | static int max8925_rtc_remove(struct platform_device *pdev) | ||
292 | { | ||
293 | return 0; | ||
294 | } | ||
295 | |||
296 | #ifdef CONFIG_PM_SLEEP | 291 | #ifdef CONFIG_PM_SLEEP |
297 | static int max8925_rtc_suspend(struct device *dev) | 292 | static int max8925_rtc_suspend(struct device *dev) |
298 | { | 293 | { |
@@ -323,7 +318,6 @@ static struct platform_driver max8925_rtc_driver = { | |||
323 | .pm = &max8925_rtc_pm_ops, | 318 | .pm = &max8925_rtc_pm_ops, |
324 | }, | 319 | }, |
325 | .probe = max8925_rtc_probe, | 320 | .probe = max8925_rtc_probe, |
326 | .remove = max8925_rtc_remove, | ||
327 | }; | 321 | }; |
328 | 322 | ||
329 | module_platform_driver(max8925_rtc_driver); | 323 | module_platform_driver(max8925_rtc_driver); |