linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtc: st-lpc: Remove struct resource from struct st_rtc
@ 2019-11-23  9:12 Nobuhiro Iwamatsu
  2019-11-26 22:35 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: Nobuhiro Iwamatsu @ 2019-11-23  9:12 UTC (permalink / raw)
  To: alexandre.belloni; +Cc: linux-rtc, david.paris, Nobuhiro Iwamatsu

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

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;
-- 
2.24.0.rc1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] rtc: st-lpc: Remove struct resource from struct st_rtc
  2019-11-23  9:12 [PATCH] rtc: st-lpc: Remove struct resource from struct st_rtc Nobuhiro Iwamatsu
@ 2019-11-26 22:35 ` Alexandre Belloni
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2019-11-26 22:35 UTC (permalink / raw)
  To: Nobuhiro Iwamatsu; +Cc: linux-rtc, david.paris

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.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-26 22:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-23  9:12 [PATCH] rtc: st-lpc: Remove struct resource from struct st_rtc Nobuhiro Iwamatsu
2019-11-26 22:35 ` 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).