Commit 4540bae9 authored by Sachin Kamat's avatar Sachin Kamat Committed by Linus Torvalds

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

The 'remove' function is empty and does not do anything.  Delete it.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ae259925
...@@ -203,11 +203,6 @@ static int pcf2127_probe(struct i2c_client *client, ...@@ -203,11 +203,6 @@ static int pcf2127_probe(struct i2c_client *client,
return 0; return 0;
} }
static int pcf2127_remove(struct i2c_client *client)
{
return 0;
}
static const struct i2c_device_id pcf2127_id[] = { static const struct i2c_device_id pcf2127_id[] = {
{ "pcf2127", 0 }, { "pcf2127", 0 },
{ } { }
...@@ -229,7 +224,6 @@ static struct i2c_driver pcf2127_driver = { ...@@ -229,7 +224,6 @@ static struct i2c_driver pcf2127_driver = {
.of_match_table = of_match_ptr(pcf2127_of_match), .of_match_table = of_match_ptr(pcf2127_of_match),
}, },
.probe = pcf2127_probe, .probe = pcf2127_probe,
.remove = pcf2127_remove,
.id_table = pcf2127_id, .id_table = pcf2127_id,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment