]> git.openfabrics.org - ~emulex/infiniband.git/commit
wdt: sunxi: Move restart code to the watchdog driver
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 7 May 2014 02:44:19 +0000 (21:44 -0500)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 5 Aug 2014 20:43:37 +0000 (22:43 +0200)
commit440e96bc770eb98b17a763defb9641c77f9a7755
tree54a35127e0b904c05dc2771399302ae11f3c5f5e
parent5be876cf7e6feeca6dc2bbdb3f1fa0167e13621d
wdt: sunxi: Move restart code to the watchdog driver

Most of the watchdog code is duplicated between the machine restart code and
the watchdog driver. Add the restart hook to the watchdog driver, to be able to
remove it from the machine code eventually.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sunxi_wdt.c