watchdog: Convert jz4740_wdt driver to watchdog core
authorAxel Lin <axel.lin@gmail.com>
Thu, 26 Jan 2012 10:10:45 +0000 (18:10 +0800)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 27 Mar 2012 18:06:16 +0000 (20:06 +0200)
commit85f6df1492ff8b620cf601a1509520d2b89858dd
tree8d4303628633518096f0f4c020870673fe6c4619
parent86a1e1896c2710402e29a875d8d830244274244d
watchdog: Convert jz4740_wdt driver to watchdog core

This patch converts jz4740_wdt driver to use watchdog core APIs.
Also use devm_* APIs to save a few error handling code.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/Kconfig
drivers/watchdog/jz4740_wdt.c