rtc: ds1307: remove ds1307_remove
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 6 Jul 2017 09:42:08 +0000 (11:42 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 7 Jul 2017 11:14:25 +0000 (13:14 +0200)
ds1307_remove() is now empty, remove it

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-ds1307.c

index 76652566cc31f498787b1dd7281b097ff64595b4..4fac49e55d473e80c87eb932698a33383ffca04b 100644 (file)
@@ -1712,11 +1712,6 @@ exit:
        return err;
 }
 
-static int ds1307_remove(struct i2c_client *client)
-{
-       return 0;
-}
-
 static struct i2c_driver ds1307_driver = {
        .driver = {
                .name   = "rtc-ds1307",
@@ -1724,7 +1719,6 @@ static struct i2c_driver ds1307_driver = {
                .acpi_match_table = ACPI_PTR(ds1307_acpi_ids),
        },
        .probe          = ds1307_probe,
-       .remove         = ds1307_remove,
        .id_table       = ds1307_id,
 };