summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2019-11-08 01:21:13 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-11-15 11:58:11 +0100
commit5ea0a619f5efa5e95a48deaecdc20f300088891e (patch)
treee14d7f34f51933e2322db44330da52f54f3d052d /drivers/rtc
parentrtc: Fix the AltCentury value on AMD/Hygon platform (diff)
downloadlinux-5ea0a619f5efa5e95a48deaecdc20f300088891e.tar.xz
linux-5ea0a619f5efa5e95a48deaecdc20f300088891e.zip
rtc: rx6110: Remove useless rx6110_remove
rx6110_remove is empty, remove it. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Link: https://lore.kernel.org/r/20191108002113.14791-1-iwamatsu@nigauri.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-rx6110.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-rx6110.c b/drivers/rtc/rtc-rx6110.c
index 71e20a6bd387..4586bf6003ca 100644
--- a/drivers/rtc/rtc-rx6110.c
+++ b/drivers/rtc/rtc-rx6110.c
@@ -370,11 +370,6 @@ static int rx6110_probe(struct spi_device *spi)
return 0;
}
-static int rx6110_remove(struct spi_device *spi)
-{
- return 0;
-}
-
static const struct spi_device_id rx6110_id[] = {
{ "rx6110", 0 },
{ }
@@ -393,7 +388,6 @@ static struct spi_driver rx6110_driver = {
.of_match_table = of_match_ptr(rx6110_spi_of_match),
},
.probe = rx6110_probe,
- .remove = rx6110_remove,
.id_table = rx6110_id,
};