Re: [PATCH v2 1/4] watchdog: iTCO_wdt: Use allocated data structures

2017-01-04 Thread Mika Westerberg
On Tue, Jan 03, 2017 at 07:14:12PM -0800, Guenter Roeck wrote: > Allocate private data and the watchdog device to avoid having > to clear it on remove and to enable subsequent simplifications. > > Reviewed-by: Andy Shevchenko > Signed-off-by: Guenter Roeck

Re: [PATCH v2 1/4] watchdog: iTCO_wdt: Use allocated data structures

2017-01-04 Thread Mika Westerberg
On Tue, Jan 03, 2017 at 07:14:12PM -0800, Guenter Roeck wrote: > Allocate private data and the watchdog device to avoid having > to clear it on remove and to enable subsequent simplifications. > > Reviewed-by: Andy Shevchenko > Signed-off-by: Guenter Roeck Really nice cleanup! For the whole

[PATCH v2 1/4] watchdog: iTCO_wdt: Use allocated data structures

2017-01-03 Thread Guenter Roeck
Allocate private data and the watchdog device to avoid having to clear it on remove and to enable subsequent simplifications. Reviewed-by: Andy Shevchenko Signed-off-by: Guenter Roeck --- v2: Fixed typo in description Added Reviewed-by:

[PATCH v2 1/4] watchdog: iTCO_wdt: Use allocated data structures

2017-01-03 Thread Guenter Roeck
Allocate private data and the watchdog device to avoid having to clear it on remove and to enable subsequent simplifications. Reviewed-by: Andy Shevchenko Signed-off-by: Guenter Roeck --- v2: Fixed typo in description Added Reviewed-by: drivers/watchdog/iTCO_wdt.c | 402