Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sachin Kamat and committed by
Linus Torvalds
ffeb4051 7f9833cd

-6
-6
drivers/rtc/rtc-lp8788.c
··· 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,