From: Nobuhiro Iwamatsu Date: Sat, 11 Mar 2017 06:42:13 +0000 (+0900) Subject: rtc: wm8350: Remove unused to_wm8350_from_rtc_dev X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7a8128e2e2aca47ded4347d97585129e19c82451;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Charles Keepax Signed-off-by: Alexandre Belloni --- 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 */