diff options
author | Radu Rendec <rrendec@arista.com> | 2017-10-26 18:10:15 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2017-12-28 20:45:18 +0100 |
commit | 568d6015dbdef2c437da2fb6e697c43df6a52fea (patch) | |
tree | cb0f41482ad7fe5db77b7e738595bb8883a456ce /drivers/watchdog/max77620_wdt.c | |
parent | watchdog: i6300esb: support multiple devices (diff) | |
download | linux-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/max77620_wdt.c')
0 files changed, 0 insertions, 0 deletions