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

drivers/rtc/rtc-isl12022.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: Roman Fietze <roman.fietze@telemotive.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
2e5526fc 0814023b

-6
-6
drivers/rtc/rtc-isl12022.c
··· 273 273 return 0; 274 274 } 275 275 276 - static int isl12022_remove(struct i2c_client *client) 277 - { 278 - return 0; 279 - } 280 - 281 276 static const struct i2c_device_id isl12022_id[] = { 282 277 { "isl12022", 0 }, 283 278 { } ··· 284 289 .name = "rtc-isl12022", 285 290 }, 286 291 .probe = isl12022_probe, 287 - .remove = isl12022_remove, 288 292 .id_table = isl12022_id, 289 293 }; 290 294