]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: coh901327: make use of timeout-secs provided in devicetree
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Sun, 11 Feb 2018 20:08:47 +0000 (21:08 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 3 Mar 2018 16:04:14 +0000 (17:04 +0100)
commit7fcb13388cf687f69dbaf8849c13ddb6660f1ff1
tree644a189d0128e074bdd49e6b6d819b928bff60b3
parent71d72561ad325b69778f95b719a45f3a3926c394
watchdog: coh901327: make use of timeout-secs provided in devicetree

watchdog_init_timeout() will allways pick timeout_param since it
defaults to a valid timeout.

Following best practice described in
Documentation/watchdog/watchdog-kernel-api.txt to make use of
the parameter logic.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/coh901327_wdt.c