watchdog: Add 'action' and 'data' parameters to restart handler callback
authorGuenter Roeck <linux@roeck-us.net>
Sat, 27 Feb 2016 01:32:49 +0000 (17:32 -0800)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 1 Mar 2016 14:36:35 +0000 (15:36 +0100)
commit4d8b229d5ea610affe672e919021e9d02cd877da
treea5f42d4a023b28deae9d5944058cd862423be30e
parent0ce72f354482cfa40fb0a6619511ab94d6daa5e9
watchdog: Add 'action' and 'data' parameters to restart handler callback

The 'action' (or restart mode) and data parameters may be used by restart
handlers, so they should be passed to the restart callback functions.

Cc: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
14 files changed:
drivers/watchdog/bcm47xx_wdt.c
drivers/watchdog/da9063_wdt.c
drivers/watchdog/digicolor_wdt.c
drivers/watchdog/imgpdc_wdt.c
drivers/watchdog/imx2_wdt.c
drivers/watchdog/lpc18xx_wdt.c
drivers/watchdog/meson_wdt.c
drivers/watchdog/moxart_wdt.c
drivers/watchdog/mtk_wdt.c
drivers/watchdog/qcom-wdt.c
drivers/watchdog/s3c2410_wdt.c
drivers/watchdog/sunxi_wdt.c
drivers/watchdog/watchdog_core.c
include/linux/watchdog.h