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

drivers/rtc/rtc-max77686.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: Chiwoong Byun <woong.byun@samsung.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
eda328fb 17d9e04c

-6
-6
drivers/rtc/rtc-max77686.c
··· 567 567 return ret; 568 568 } 569 569 570 - static int max77686_rtc_remove(struct platform_device *pdev) 571 - { 572 - return 0; 573 - } 574 - 575 570 static void max77686_rtc_shutdown(struct platform_device *pdev) 576 571 { 577 572 #ifdef MAX77686_RTC_WTSR_SMPL ··· 605 610 .owner = THIS_MODULE, 606 611 }, 607 612 .probe = max77686_rtc_probe, 608 - .remove = max77686_rtc_remove, 609 613 .shutdown = max77686_rtc_shutdown, 610 614 .id_table = rtc_id, 611 615 };