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

drivers/rtc/rtc-bq32k.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
52c1b7a7 e1c2f989

-6
-6
drivers/rtc/rtc-bq32k.c
··· 163 163 return 0; 164 164 } 165 165 166 - static int bq32k_remove(struct i2c_client *client) 167 - { 168 - return 0; 169 - } 170 - 171 166 static const struct i2c_device_id bq32k_id[] = { 172 167 { "bq32000", 0 }, 173 168 { } ··· 175 180 .owner = THIS_MODULE, 176 181 }, 177 182 .probe = bq32k_probe, 178 - .remove = bq32k_remove, 179 183 .id_table = bq32k_id, 180 184 }; 181 185