watchdog: iTCO_wdt: Use allocated data structures
authorGuenter Roeck <linux@roeck-us.net>
Sun, 1 Jan 2017 19:11:39 +0000 (11:11 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 24 Feb 2017 22:00:23 +0000 (14:00 -0800)
commitce1b95ca23c1265d63746e72f37ea8e546687361
tree7223f28e047d4de0f54160a4482f9f6a3615aa08
parent9bf2dfb0e4bce68d9c0b0109e150f6b099276957
watchdog: iTCO_wdt: Use allocated data structures

Allocate private data and the watchdog device to avoid having
to clear it on remove and to enable subsequent simplifications.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/iTCO_wdt.c