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

drivers/rtc/rtc-snvs.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>
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
0cb4b84f 75319092

-6
-6
drivers/rtc/rtc-snvs.c
··· 294 294 return 0; 295 295 } 296 296 297 - static int snvs_rtc_remove(struct platform_device *pdev) 298 - { 299 - return 0; 300 - } 301 - 302 297 #ifdef CONFIG_PM_SLEEP 303 298 static int snvs_rtc_suspend(struct device *dev) 304 299 { ··· 332 337 .of_match_table = of_match_ptr(snvs_dt_ids), 333 338 }, 334 339 .probe = snvs_rtc_probe, 335 - .remove = snvs_rtc_remove, 336 340 }; 337 341 module_platform_driver(snvs_rtc_driver); 338 342