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

drivers/rtc/rtc-fm3130.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: Sergey Lapin <slapin@ossfans.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
0814023b 2a7a145e

-6
-6
drivers/rtc/rtc-fm3130.c
··· 520 520 return err; 521 521 } 522 522 523 - static int fm3130_remove(struct i2c_client *client) 524 - { 525 - return 0; 526 - } 527 - 528 523 static struct i2c_driver fm3130_driver = { 529 524 .driver = { 530 525 .name = "rtc-fm3130", 531 526 .owner = THIS_MODULE, 532 527 }, 533 528 .probe = fm3130_probe, 534 - .remove = fm3130_remove, 535 529 .id_table = fm3130_id, 536 530 }; 537 531