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

drivers/rtc/rtc-ds1672.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
53ac70aa b943abd3

-6
-6
drivers/rtc/rtc-ds1672.c
··· 153 153 .set_mmss = ds1672_rtc_set_mmss, 154 154 }; 155 155 156 - static int ds1672_remove(struct i2c_client *client) 157 - { 158 - return 0; 159 - } 160 - 161 156 static int ds1672_probe(struct i2c_client *client, 162 157 const struct i2c_device_id *id) 163 158 { ··· 205 210 .name = "rtc-ds1672", 206 211 }, 207 212 .probe = &ds1672_probe, 208 - .remove = &ds1672_remove, 209 213 .id_table = ds1672_id, 210 214 }; 211 215