summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/mtx-1_wdt.c
diff options
context:
space:
mode:
authorRadu Rendec <rrendec@arista.com>2017-10-26 18:10:15 +0200
committerWim Van Sebroeck <wim@iguana.be>2017-12-28 20:45:18 +0100
commit568d6015dbdef2c437da2fb6e697c43df6a52fea (patch)
treecb0f41482ad7fe5db77b7e738595bb8883a456ce /drivers/watchdog/mtx-1_wdt.c
parentwatchdog: i6300esb: support multiple devices (diff)
downloadlinux-568d6015dbdef2c437da2fb6e697c43df6a52fea.tar.xz
linux-568d6015dbdef2c437da2fb6e697c43df6a52fea.zip
watchdog: i6300esb: do not hardcode heartbeat limits
The minimum, maximum and default values for the watchdog heartbeat (timeout) were hardcoded in several places (including module parameter description and warning message for invalid module parameter value). This patch adds macros for the aforementioned values and replaces all occurences of hardcoded values by these macros. Signed-off-by: Radu Rendec <rrendec@arista.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/mtx-1_wdt.c')
0 files changed, 0 insertions, 0 deletions