[PATCH 00/21] rtc: remove make W=1 warnings
From: Alexandre Belloni
Date: Tue Feb 02 2021 - 06:32:47 EST
Hi,
This series removes some make W=1 warning, especially when CONFIG_OF is
not defined.
Alexandre Belloni (21):
rtc: class: remove bogus documentation
rtc: armada38x: depend on OF
rtc: bq32k: quiet maybe-unused variable warning
rtc: brcmstb-waketimer: quiet maybe-unused variable warning
rtc: digicolor: quiet maybe-unused variable warning
rtc: ds1672: quiet maybe-unused variable warning
rtc: ds3232: quiet maybe-unused variable warning
rtc: isl1208: quiet maybe-unused variable warning
rtc: m41t80: quiet maybe-unused variable warning
rtc: meson: quiet maybe-unused variable warning
rtc: pcf85063: quiet maybe-unused variable warnings
rtc: pcf85363: quiet maybe-unused variable warning
rtc: rs5c372: quiet maybe-unused variable warning
rtc: rv3028: quiet maybe-unused variable warning
rtc: rv3029: quiet maybe-unused variable warning
rtc: rv3032: quiet maybe-unused variable warning
rtc: rv8803: quiet maybe-unused variable warning
rtc: rx8010: quiet maybe-unused variable warning
rtc: rx8581: quiet maybe-unused variable warning
rtc: s35390a: quiet maybe-unused variable warning
rtc: sd3078: quiet maybe-unused variable warning
drivers/rtc/Kconfig | 1 +
drivers/rtc/class.c | 5 ----
drivers/rtc/rtc-bq32k.c | 2 +-
drivers/rtc/rtc-brcmstb-waketimer.c | 2 +-
drivers/rtc/rtc-digicolor.c | 2 +-
drivers/rtc/rtc-ds1672.c | 2 +-
drivers/rtc/rtc-ds3232.c | 2 +-
drivers/rtc/rtc-isl1208.c | 2 +-
drivers/rtc/rtc-m41t80.c | 2 +-
drivers/rtc/rtc-meson.c | 2 +-
drivers/rtc/rtc-pcf85063.c | 38 ++++++++++++++---------------
drivers/rtc/rtc-pcf85363.c | 2 +-
drivers/rtc/rtc-rs5c372.c | 2 +-
drivers/rtc/rtc-rv3028.c | 2 +-
drivers/rtc/rtc-rv3029c2.c | 2 +-
drivers/rtc/rtc-rv3032.c | 2 +-
drivers/rtc/rtc-rv8803.c | 2 +-
drivers/rtc/rtc-rx8010.c | 2 +-
drivers/rtc/rtc-rx8581.c | 2 +-
drivers/rtc/rtc-s35390a.c | 2 +-
drivers/rtc/rtc-sd3078.c | 2 +-
21 files changed, 38 insertions(+), 42 deletions(-)
--
2.29.2