diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2017-03-11 01:42:13 -0500 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-03-16 17:59:54 -0400 |
commit | 7a8128e2e2aca47ded4347d97585129e19c82451 (patch) | |
tree | 14dd60db2d5ddbc675a1db0b68899703a761084c | |
parent | dd3bf50b35e3e111d6325207177b12af88aec824 (diff) |
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: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r-- | drivers/rtc/rtc-wm8350.c | 2 |
1 files changed, 0 insertions, 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 @@ | |||
30 | #define WM8350_SET_TIME_RETRIES 5 | 30 | #define WM8350_SET_TIME_RETRIES 5 |
31 | #define WM8350_GET_TIME_RETRIES 5 | 31 | #define WM8350_GET_TIME_RETRIES 5 |
32 | 32 | ||
33 | #define to_wm8350_from_rtc_dev(d) container_of(d, struct wm8350, rtc.pdev.dev) | ||
34 | |||
35 | /* | 33 | /* |
36 | * Read current time and date in RTC | 34 | * Read current time and date in RTC |
37 | */ | 35 | */ |