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

drivers/rtc/rtc-ls1x.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: zhao zhang <zhzhl555@gmail.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
7f9833cd ce06cc82

-6
-6
drivers/rtc/rtc-ls1x.c
··· 185 185 return ret; 186 186 } 187 187 188 - static int ls1x_rtc_remove(struct platform_device *pdev) 189 - { 190 - return 0; 191 - } 192 - 193 188 static struct platform_driver ls1x_rtc_driver = { 194 189 .driver = { 195 190 .name = "ls1x-rtc", 196 191 .owner = THIS_MODULE, 197 192 }, 198 - .remove = ls1x_rtc_remove, 199 193 .probe = ls1x_rtc_probe, 200 194 }; 201 195