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

drivers/rtc/rtc-ab3100.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: Linus Walleij <linus.walleij@linaro.org>
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
a2c0b859 b3ecafd9

-6
-6
drivers/rtc/rtc-ab3100.c
··· 240 240 return 0; 241 241 } 242 242 243 - static int __exit ab3100_rtc_remove(struct platform_device *pdev) 244 - { 245 - return 0; 246 - } 247 - 248 243 static struct platform_driver ab3100_rtc_driver = { 249 244 .driver = { 250 245 .name = "ab3100-rtc", 251 246 .owner = THIS_MODULE, 252 247 }, 253 - .remove = __exit_p(ab3100_rtc_remove), 254 248 }; 255 249 256 250 module_platform_driver_probe(ab3100_rtc_driver, ab3100_rtc_probe);