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)
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>

No differences found