rtc: r9701: Remove r9701_remove function
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Sat, 18 Nov 2017 02:03:10 +0000 (11:03 +0900)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 29 Nov 2017 21:13:30 +0000 (22:13 +0100)
r9701_remove function is now empty, remove it.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-r9701.c

index 83d2bcc..b6c5eb9 100644 (file)
@@ -164,17 +164,11 @@ static int r9701_probe(struct spi_device *spi)
        return 0;
 }
 
-static int r9701_remove(struct spi_device *spi)
-{
-       return 0;
-}
-
 static struct spi_driver r9701_driver = {
        .driver = {
                .name   = "rtc-r9701",
        },
        .probe  = r9701_probe,
-       .remove = r9701_remove,
 };
 
 module_spi_driver(r9701_driver);