* [PATCH] rtc: ds1307: Remove r9701_remove function
@ 2017-11-18 2:03 Nobuhiro Iwamatsu
2017-11-29 21:14 ` Alexandre Belloni
0 siblings, 1 reply; 2+ messages in thread
From: Nobuhiro Iwamatsu @ 2017-11-18 2:03 UTC (permalink / raw)
To: linux-rtc; +Cc: alexandre.belloni, Nobuhiro Iwamatsu
r9701_remove function is now empty, remove it.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
drivers/rtc/rtc-r9701.c | 6 ------
1 file changed, 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);
--
2.15.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-29 21:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-18 2:03 [PATCH] rtc: ds1307: Remove r9701_remove function Nobuhiro Iwamatsu
2017-11-29 21:14 ` Alexandre Belloni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.