rtc: abx80x: remove useless .remove
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 6 Mar 2019 09:51:34 +0000 (10:51 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Mar 2019 02:36:01 +0000 (03:36 +0100)
.remove is empty, remove it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-abx80x.c

index 90f25ac78abcc219d0c9548f71362d9a50a13dce..73830670a41f13b6eb4a5afe09b75f878f11e271 100644 (file)
@@ -851,11 +851,6 @@ static int abx80x_probe(struct i2c_client *client,
        return rtc_register_device(priv->rtc);
 }
 
-static int abx80x_remove(struct i2c_client *client)
-{
-       return 0;
-}
-
 static const struct i2c_device_id abx80x_id[] = {
        { "abx80x", ABX80X },
        { "ab0801", AB0801 },
@@ -876,7 +871,6 @@ static struct i2c_driver abx80x_driver = {
                .name   = "rtc-abx80x",
        },
        .probe          = abx80x_probe,
-       .remove         = abx80x_remove,
        .id_table       = abx80x_id,
 };