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

drivers/rtc/rtc-tps80031.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: Laxman Dewangan <ldewangan@nvidia.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
7deef7f2 d55b6643

-6
-6
drivers/rtc/rtc-tps80031.c
··· 298 298 return 0; 299 299 } 300 300 301 - static int tps80031_rtc_remove(struct platform_device *pdev) 302 - { 303 - return 0; 304 - } 305 - 306 301 #ifdef CONFIG_PM_SLEEP 307 302 static int tps80031_rtc_suspend(struct device *dev) 308 303 { ··· 328 333 .pm = &tps80031_pm_ops, 329 334 }, 330 335 .probe = tps80031_rtc_probe, 331 - .remove = tps80031_rtc_remove, 332 336 }; 333 337 334 338 module_platform_driver(tps80031_rtc_driver);