提交 7a8128e2 编写于 作者: N Nobuhiro Iwamatsu 提交者: Alexandre Belloni

rtc: wm8350: Remove unused to_wm8350_from_rtc_dev

The to_wm8350_from_rtc_dev macro is not used by anything in the
rtc-wm8350 driver.
Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
上级 dd3bf50b
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
#define WM8350_SET_TIME_RETRIES 5 #define WM8350_SET_TIME_RETRIES 5
#define WM8350_GET_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 * Read current time and date in RTC
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册