diff mbox series

rtc: ds1307: Remove r9701_remove function

Message ID 20171118020310.7284-1-iwamatsu@nigauri.org
State Accepted
Headers show
Series rtc: ds1307: Remove r9701_remove function | expand

Commit Message

Nobuhiro Iwamatsu Nov. 18, 2017, 2:03 a.m. UTC
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(-)

Comments

Alexandre Belloni Nov. 29, 2017, 9:14 p.m. UTC | #1
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.
diff mbox series

Patch

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);