From: Maxime Ripard Date: Wed, 7 May 2014 02:44:19 +0000 (-0500) Subject: wdt: sunxi: Move restart code to the watchdog driver X-Git-Tag: cleanup-for-v3.18~100^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=440e96bc770eb98b17a763defb9641c77f9a7755;p=pandora-kernel.git 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 Acked-by: Arnd Bergmann Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed