mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-13 15:53:56 +08:00
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>
This commit is contained in:
parent
ae259925bc
commit
4540bae9cd
@ -203,11 +203,6 @@ static int pcf2127_probe(struct i2c_client *client,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int pcf2127_remove(struct i2c_client *client)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static const struct i2c_device_id pcf2127_id[] = {
|
||||
{ "pcf2127", 0 },
|
||||
{ }
|
||||
@ -229,7 +224,6 @@ static struct i2c_driver pcf2127_driver = {
|
||||
.of_match_table = of_match_ptr(pcf2127_of_match),
|
||||
},
|
||||
.probe = pcf2127_probe,
|
||||
.remove = pcf2127_remove,
|
||||
.id_table = pcf2127_id,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user