]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita92bc8a21f07e10d9f70d4f87f0af3395e8b6d7b
tree7223f28e047d4de0f54160a4482f9f6a3615aa08
parenta477bed650c49a01ec59fb54a0a17940dc8ce369
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