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

drivers/rtc/rtc-pcf2127.c: remove empty function

The 'remove' function is empty and 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
4540bae9 ae259925

-6
-6
drivers/rtc/rtc-pcf2127.c
··· 203 203 return 0; 204 204 } 205 205 206 - static int pcf2127_remove(struct i2c_client *client) 207 - { 208 - return 0; 209 - } 210 - 211 206 static const struct i2c_device_id pcf2127_id[] = { 212 207 { "pcf2127", 0 }, 213 208 { } ··· 224 229 .of_match_table = of_match_ptr(pcf2127_of_match), 225 230 }, 226 231 .probe = pcf2127_probe, 227 - .remove = pcf2127_remove, 228 232 .id_table = pcf2127_id, 229 233 }; 230 234