Commit ce06cc82d7cb5445d0c01c980433ada4ab0f2847
Committed by
Linus Torvalds
1 parent
2fbbdb11f0
Exists in
master
and in
20 other branches
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>
Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff
drivers/rtc/rtc-max8925.c
... | ... | @@ -288,11 +288,6 @@ |
288 | 288 | return 0; |
289 | 289 | } |
290 | 290 | |
291 | -static int max8925_rtc_remove(struct platform_device *pdev) | |
292 | -{ | |
293 | - return 0; | |
294 | -} | |
295 | - | |
296 | 291 | #ifdef CONFIG_PM_SLEEP |
297 | 292 | static int max8925_rtc_suspend(struct device *dev) |
298 | 293 | { |
... | ... | @@ -323,7 +318,6 @@ |
323 | 318 | .pm = &max8925_rtc_pm_ops, |
324 | 319 | }, |
325 | 320 | .probe = max8925_rtc_probe, |
326 | - .remove = max8925_rtc_remove, | |
327 | 321 | }; |
328 | 322 | |
329 | 323 | module_platform_driver(max8925_rtc_driver); |