rtc: wm8350: Remove unused to_wm8350_from_rtc_dev
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Sat, 11 Mar 2017 06:42:13 +0000 (15:42 +0900)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 16 Mar 2017 21:59:54 +0000 (22:59 +0100)
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>
drivers/rtc/rtc-wm8350.c

index fa247de..483c799 100644 (file)
@@ -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
  */