summaryrefslogtreecommitdiff
path: root/drivers/watchdog/softdog.c
diff options
context:
space:
mode:
authorDamien Riegel <damien.riegel@savoirfairelinux.com>2015-11-21 00:54:54 +0300
committerWim Van Sebroeck <wim@iguana.be>2015-12-13 17:56:02 +0300
commit28e805b44d52900fc5b05b35ef3945dc6db336a1 (patch)
tree68c66c723ca11de50054a803478bf384faeda920 /drivers/watchdog/softdog.c
parent5e1f976f43dc6b5903ee4b78536347b5004cefe4 (diff)
downloadlinux-28e805b44d52900fc5b05b35ef3945dc6db336a1.tar.xz
watchdog: gpio_wdt: use core reboot notifier
Get rid of the custom reboot notifier block registration and use the one provided by the watchdog core. Note that this watchdog used to stop unconditionnaly on SYS_HALT and SYS_POWER_OFF. The core function now calls ops->stop on SYS_HALT and SYS_DOWN. To prevent the watchdog from being stopped on reboot, the "always-running" property must be set, otherwise it will now be stopped. Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com> Reviewed-by: Vivien Didelot <vivien.didelot@savoirlinux.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/softdog.c')
0 files changed, 0 insertions, 0 deletions