diff mbox series

rtc: st-lpc: Remove struct resource from struct st_rtc

Message ID 20191123091241.1905-1-nobuhiro1.iwamatsu@toshiba.co.jp
State Accepted
Headers show
Series rtc: st-lpc: Remove struct resource from struct st_rtc | expand

Commit Message

Nobuhiro Iwamatsu Nov. 23, 2019, 9:12 a.m. UTC
From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

struct resource in struct st_rtc is not used, remove it.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 drivers/rtc/rtc-st-lpc.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Alexandre Belloni Nov. 26, 2019, 10:35 p.m. UTC | #1
On 23/11/2019 18:12:41+0900, Nobuhiro Iwamatsu wrote:
> From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
> 
> struct resource in struct st_rtc is not used, remove it.
> 
> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
> ---
>  drivers/rtc/rtc-st-lpc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
Applied, thanks.
diff mbox series

Patch

diff --git a/drivers/rtc/rtc-st-lpc.c b/drivers/rtc/rtc-st-lpc.c
index f1c5471073bc2..51041dc08af4b 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;