watchdog: Convert max63xx_wdt driver to watchdog framework
RFC PATCH 1/1 watchdog: Convert max63xx_wdt driver to watchdog framework
This patch converts max63xx_wdt driver to watchdog framework. Also use devm_* APIs to save a few error handling code.
Signed-off-by Axel Lin <[email protected]>
---
Hi,
I don't have this hardware, I'd appreciate if someone can test this patch.
Thanks,
Axel
drivers/watchdog/Kconfig | 1 + drivers/watchdog/max63xx_wdt.c | 188 +++++++--------------------------------- 2 files changed, 31 insertions(+), 158 deletions(-)
drivers/watchdog/Kconfig +1 -0
@@ -328,6 +328,7 @@ config TS72XX_WATCHDOG config MAX63XX_WATCHDOG tristate "Max63xx watchdog" depends on ARM && HAS_IOMEM + select WATCHDOG_CORE help Support for memory mapped max63{69,70,71,72,73,74} watchdog timer.
drivers/watchdog/max63xx_wdt.c +30 -158
274 lines not on this page · raw message
Signature · 1 line
1.7.5.4