summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2017-11-18 11:03:10 +0900
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-11-29 22:13:30 +0100
commit5c6e5eca79e8a5a89a7ae98b30ba6d71e367d899 (patch)
tree1f6a0d0dcf75c05ddb4f1e37afc870f6897568ff /drivers/rtc
parentf2eef045de9defbc6fc6b72b17f0941cbe26c81d (diff)
downloadlinux-5c6e5eca79e8a5a89a7ae98b30ba6d71e367d899.tar.bz2
rtc: r9701: Remove r9701_remove function
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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-r9701.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-r9701.c b/drivers/rtc/rtc-r9701.c
index 83d2bcca6a8f..b6c5eb97051c 100644
--- a/drivers/rtc/rtc-r9701.c
+++ b/drivers/rtc/rtc-r9701.c
@@ -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);