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

drivers/rtc/rtc-m41t93.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: Nikolaus Voss <n.voss@weinmann.de>
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
d95c6163 2e5526fc

-7
-7
drivers/rtc/rtc-m41t93.c
··· 194 194 return 0; 195 195 } 196 196 197 - 198 - static int m41t93_remove(struct spi_device *spi) 199 - { 200 - return 0; 201 - } 202 - 203 197 static struct spi_driver m41t93_driver = { 204 198 .driver = { 205 199 .name = "rtc-m41t93", 206 200 .owner = THIS_MODULE, 207 201 }, 208 202 .probe = m41t93_probe, 209 - .remove = m41t93_remove, 210 203 }; 211 204 212 205 module_spi_driver(m41t93_driver);