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

drivers/rtc/rtc-dm355evm.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
277048aa 013f91e7

-6
-6
drivers/rtc/rtc-dm355evm.c
··· 139 139 return 0; 140 140 } 141 141 142 - static int dm355evm_rtc_remove(struct platform_device *pdev) 143 - { 144 - return 0; 145 - } 146 - 147 142 /* 148 143 * I2C is used to talk to the MSP430, but this platform device is 149 144 * exposed by an MFD driver that manages I2C communications. 150 145 */ 151 146 static struct platform_driver rtc_dm355evm_driver = { 152 147 .probe = dm355evm_rtc_probe, 153 - .remove = dm355evm_rtc_remove, 154 148 .driver = { 155 149 .owner = THIS_MODULE, 156 150 .name = "rtc-dm355evm",