rtc: rx6110: Remove useless rx6110_remove
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Fri, 8 Nov 2019 00:21:13 +0000 (09:21 +0900)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 15 Nov 2019 10:58:11 +0000 (11:58 +0100)
rx6110_remove is empty, remove it.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Link: https://lore.kernel.org/r/20191108002113.14791-1-iwamatsu@nigauri.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rx6110.c

index 71e20a6bd387fa7dbe00221a2cb87381905841c8..4586bf6003ca56f837dd3f2140373c5812af348b 100644 (file)
@@ -370,11 +370,6 @@ static int rx6110_probe(struct spi_device *spi)
        return 0;
 }
 
-static int rx6110_remove(struct spi_device *spi)
-{
-       return 0;
-}
-
 static const struct spi_device_id rx6110_id[] = {
        { "rx6110", 0 },
        { }
@@ -393,7 +388,6 @@ static struct spi_driver rx6110_driver = {
                .of_match_table = of_match_ptr(rx6110_spi_of_match),
        },
        .probe          = rx6110_probe,
-       .remove         = rx6110_remove,
        .id_table       = rx6110_id,
 };