watchdog: diag288: Stop re-using watchdog core internal flags
authorGuenter Roeck <linux@roeck-us.net>
Sat, 26 Dec 2015 00:01:41 +0000 (16:01 -0800)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 29 Dec 2015 19:36:02 +0000 (20:36 +0100)
commite7d162faa6d067777548cb98d55206cf7cd3438e
treefe4c3c54833ce1f7bc8011b163b536ba49333267
parent32ecc6392654a0db34b310e8924b5b2c3b8bf503
watchdog: diag288: Stop re-using watchdog core internal flags

A watchdog driver should not use watchdog subsystem internal flags.
Use a driver variable and flag instead to maintain the watchdog state
and to determine if a suspend operation is possible or not.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/diag288_wdt.c