commit | 440e96bc770eb98b17a763defb9641c77f9a7755 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@free-electrons.com> | Tue May 06 21:44:19 2014 -0500 |
committer | Wim Van Sebroeck <wim@iguana.be> | Tue Aug 05 22:43:37 2014 +0200 |
tree | 54a35127e0b904c05dc2771399302ae11f3c5f5e | |
parent | 5be876cf7e6feeca6dc2bbdb3f1fa0167e13621d [diff] |
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>