[PATCH 0/2] rtc: pcf2127: only use watchdog when explicitly available

From: Uwe Kleine-König
Date: Thu Sep 24 2020 - 06:53:09 EST


Hello,

now that there are two people stumbling over the pcf2127 driver
providing a non-functional watchdog device, here comes an RFC patch to
address this.

Note this is only compile tested and dt-documentation is still missing.
Still send this series because the cleanup is nice independent of this
discussion and to have something to argue about.

Does someone can offer a better name than "has-watchdog", is there a
scheme that could be used already that I'm not aware of?

Best regards
Uwe

Uwe Kleine-König (2):
rtc: pcf2127: move watchdog initialisation to a separate function
[RFC] rtc: pcf2127: only use watchdog when explicitly available

drivers/rtc/rtc-pcf2127.c | 57 ++++++++++++++++++++++-----------------
1 file changed, 32 insertions(+), 25 deletions(-)

--
2.28.0