summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2019-11-23 18:12:41 +0900
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-11-27 09:31:14 +0100
commit4f8aadea23426a163aca42a9ce208bb8544b02c1 (patch)
tree12eb767fd8fa78e0a0ca35e90a3807e4f475d283 /drivers/rtc
parent93966243cf90c055d89b5ebfbb8dee0f9ac6b0a2 (diff)
rtc: st-lpc: Remove struct resource from struct st_rtc
struct resource in struct st_rtc is not used, remove it. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Link: https://lore.kernel.org/r/20191123091241.1905-1-nobuhiro1.iwamatsu@toshiba.co.jp Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-st-lpc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-st-lpc.c b/drivers/rtc/rtc-st-lpc.c
index f1c5471073bc..51041dc08af4 100644
--- a/drivers/rtc/rtc-st-lpc.c
+++ b/drivers/rtc/rtc-st-lpc.c
@@ -41,7 +41,6 @@
struct st_rtc {
struct rtc_device *rtc_dev;
struct rtc_wkalrm alarm;
- struct resource *res;
struct clk *clk;
unsigned long clkrate;
void __iomem *ioaddr;