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

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

index 10474ab7887dd03001511d8a7293023acf006fac..aae2576741a61585a9624217fa2a6cd1d26510e1 100644 (file)
@@ -612,11 +612,6 @@ static int rv8803_probe(struct i2c_client *client,
        return 0;
 }
 
-static int rv8803_remove(struct i2c_client *client)
-{
-       return 0;
-}
-
 static const struct i2c_device_id rv8803_id[] = {
        { "rv8803", rv_8803 },
        { "rx8900", rx_8900 },
@@ -643,7 +638,6 @@ static struct i2c_driver rv8803_driver = {
                .of_match_table = of_match_ptr(rv8803_of_match),
        },
        .probe          = rv8803_probe,
-       .remove         = rv8803_remove,
        .id_table       = rv8803_id,
 };
 module_i2c_driver(rv8803_driver);