Skip to contentSkip to conversation

watchdog: Convert max63xx_wdt driver to watchdog framework

RFC PATCH New Axel Lin 1 participant 1 message Feb 8, 2012 Watchdog device drivers

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

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.

---
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
index 877b107..4f4ee10 100644
@@ -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