All of lore.kernel.org
 help / color / mirror / Atom feed
* [rtc-linux] [PATCH] rtc: rtc-wm8350: Remove unused to_wm8350_from_rtc_dev
@ 2017-03-11  6:42 Nobuhiro Iwamatsu
  2017-03-13  9:06 ` [rtc-linux] " Charles Keepax
  2017-03-16 22:01 ` Alexandre Belloni
  0 siblings, 2 replies; 3+ messages in thread
From: Nobuhiro Iwamatsu @ 2017-03-11  6:42 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni; +Cc: patches, rtc-linux, Nobuhiro Iwamatsu

The to_wm8350_from_rtc_dev macro is not used by anything in the
rtc-wm8350 driver.

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

diff --git a/drivers/rtc/rtc-wm8350.c b/drivers/rtc/rtc-wm8350.c
index fa247deb9cf4..483c7993516b 100644
--- a/drivers/rtc/rtc-wm8350.c
+++ b/drivers/rtc/rtc-wm8350.c
@@ -30,8 +30,6 @@
 #define WM8350_SET_TIME_RETRIES	5
 #define WM8350_GET_TIME_RETRIES	5
 
-#define to_wm8350_from_rtc_dev(d) container_of(d, struct wm8350, rtc.pdev.dev)
-
 /*
  * Read current time and date in RTC
  */
-- 
2.11.0

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

* [rtc-linux] Re: [PATCH] rtc: rtc-wm8350: Remove unused to_wm8350_from_rtc_dev
  2017-03-11  6:42 [rtc-linux] [PATCH] rtc: rtc-wm8350: Remove unused to_wm8350_from_rtc_dev Nobuhiro Iwamatsu
@ 2017-03-13  9:06 ` Charles Keepax
  2017-03-16 22:01 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Charles Keepax @ 2017-03-13  9:06 UTC (permalink / raw)
  To: Nobuhiro Iwamatsu; +Cc: Alessandro Zummo, Alexandre Belloni, patches, rtc-linux

On Sat, Mar 11, 2017 at 03:42:13PM +0900, Nobuhiro Iwamatsu wrote:
> The to_wm8350_from_rtc_dev macro is not used by anything in the
> rtc-wm8350 driver.
> 
> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

* [rtc-linux] Re: [PATCH] rtc: rtc-wm8350: Remove unused to_wm8350_from_rtc_dev
  2017-03-11  6:42 [rtc-linux] [PATCH] rtc: rtc-wm8350: Remove unused to_wm8350_from_rtc_dev Nobuhiro Iwamatsu
  2017-03-13  9:06 ` [rtc-linux] " Charles Keepax
@ 2017-03-16 22:01 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2017-03-16 22:01 UTC (permalink / raw)
  To: Nobuhiro Iwamatsu; +Cc: Alessandro Zummo, patches, rtc-linux

On 11/03/2017 at 15:42:13 +0900, Nobuhiro Iwamatsu wrote:
> The to_wm8350_from_rtc_dev macro is not used by anything in the
> rtc-wm8350 driver.
> 
> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
> ---
>  drivers/rtc/rtc-wm8350.c | 2 --
>  1 file changed, 2 deletions(-)
> 
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

end of thread, other threads:[~2017-03-16 22:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-11  6:42 [rtc-linux] [PATCH] rtc: rtc-wm8350: Remove unused to_wm8350_from_rtc_dev Nobuhiro Iwamatsu
2017-03-13  9:06 ` [rtc-linux] " Charles Keepax
2017-03-16 22:01 ` Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.