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

drivers/rtc/rtc-rx4581.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: Torben Hohn <torbenh@linutronix.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
c281735c 832ccd3f

-6
-6
drivers/rtc/rtc-rx4581.c
··· 282 282 return 0; 283 283 } 284 284 285 - static int rx4581_remove(struct spi_device *spi) 286 - { 287 - return 0; 288 - } 289 - 290 285 static const struct spi_device_id rx4581_id[] = { 291 286 { "rx4581", 0 }, 292 287 { } ··· 294 299 .owner = THIS_MODULE, 295 300 }, 296 301 .probe = rx4581_probe, 297 - .remove = rx4581_remove, 298 302 .id_table = rx4581_id, 299 303 }; 300 304