Commit ffeb40515971c9860ff671bb074689db15e18831
Committed by
Linus Torvalds
1 parent
7f9833cdf6
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
drivers/rtc/rtc-lp8788.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> Acked-by: Milo Kim <milo.kim@ti.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-lp8788.c
... | ... | @@ -312,14 +312,8 @@ |
312 | 312 | return 0; |
313 | 313 | } |
314 | 314 | |
315 | -static int lp8788_rtc_remove(struct platform_device *pdev) | |
316 | -{ | |
317 | - return 0; | |
318 | -} | |
319 | - | |
320 | 315 | static struct platform_driver lp8788_rtc_driver = { |
321 | 316 | .probe = lp8788_rtc_probe, |
322 | - .remove = lp8788_rtc_remove, | |
323 | 317 | .driver = { |
324 | 318 | .name = LP8788_DEV_RTC, |
325 | 319 | .owner = THIS_MODULE, |