Commit bed8e280 authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: ds1307: remove ds1307_remove

ds1307_remove() is now empty, remove it
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent abc925f7
...@@ -1712,11 +1712,6 @@ static int ds1307_probe(struct i2c_client *client, ...@@ -1712,11 +1712,6 @@ static int ds1307_probe(struct i2c_client *client,
return err; return err;
} }
static int ds1307_remove(struct i2c_client *client)
{
return 0;
}
static struct i2c_driver ds1307_driver = { static struct i2c_driver ds1307_driver = {
.driver = { .driver = {
.name = "rtc-ds1307", .name = "rtc-ds1307",
...@@ -1724,7 +1719,6 @@ static struct i2c_driver ds1307_driver = { ...@@ -1724,7 +1719,6 @@ static struct i2c_driver ds1307_driver = {
.acpi_match_table = ACPI_PTR(ds1307_acpi_ids), .acpi_match_table = ACPI_PTR(ds1307_acpi_ids),
}, },
.probe = ds1307_probe, .probe = ds1307_probe,
.remove = ds1307_remove,
.id_table = ds1307_id, .id_table = ds1307_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