* [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
* Re: [PATCH] rtc: ds1307: Remove r9701_remove function
2017-11-18 2:03 [PATCH] rtc: ds1307: Remove r9701_remove function Nobuhiro Iwamatsu
@ 2017-11-29 21:14 ` Alexandre Belloni
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2017-11-29 21:14 UTC (permalink / raw)
To: Nobuhiro Iwamatsu; +Cc: linux-rtc
On 18/11/2017 at 11:03:10 +0900, Nobuhiro Iwamatsu wrote:
> 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(-)
>
Applied after fixing the subject, thanks.
--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).