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

drivers/rtc/rtc-em3027.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: Mike Rapoport <mike@compulab.co.il>
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
2a7a145e e160419a

-6
-6
drivers/rtc/rtc-em3027.c
··· 131 131 return 0; 132 132 } 133 133 134 - static int em3027_remove(struct i2c_client *client) 135 - { 136 - return 0; 137 - } 138 - 139 134 static struct i2c_device_id em3027_id[] = { 140 135 { "em3027", 0 }, 141 136 { } ··· 141 146 .name = "rtc-em3027", 142 147 }, 143 148 .probe = &em3027_probe, 144 - .remove = &em3027_remove, 145 149 .id_table = em3027_id, 146 150 }; 147 151