diff options
author | Marcus Folkesson <marcus.folkesson@gmail.com> | 2018-02-11 21:08:41 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2018-03-03 17:04:12 +0100 |
commit | 976932e40036179d71d40c76fc559b4b19912bac (patch) | |
tree | deedd09bd32f82595a6af3058848d708c67b8b51 /drivers/watchdog/sunxi_wdt.c | |
parent | watchdog: imx2_wdt: allow setting timeout in devicetree (diff) | |
download | linux-976932e40036179d71d40c76fc559b4b19912bac.tar.xz linux-976932e40036179d71d40c76fc559b4b19912bac.zip |
watchdog: sama5d4: 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>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/sunxi_wdt.c')
0 files changed, 0 insertions, 0 deletions