Re: [PATCH 1/5] wdt: sunxi: Move restart code to the watchdog driver

2014-04-28 Thread Maxime Ripard
Hi, On Sat, Apr 26, 2014 at 08:31:07AM -0700, Guenter Roeck wrote: > On 04/23/2014 08:04 AM, Maxime Ripard wrote: > >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

Re: [PATCH 1/5] wdt: sunxi: Move restart code to the watchdog driver

2014-04-26 Thread Guenter Roeck
On 04/23/2014 08:04 AM, Maxime Ripard wrote: 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 --- drivers/watchd

Re: [PATCH 1/5] wdt: sunxi: Move restart code to the watchdog driver

2014-04-23 Thread Arnd Bergmann
On Wednesday 23 April 2014 17:04:32 Maxime Ripard wrote: > 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 Ripar

[PATCH 1/5] wdt: sunxi: Move restart code to the watchdog driver

2014-04-23 Thread Maxime Ripard
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 --- drivers/watchdog/sunxi_wdt.c | 33