Re: [PATCH 7/7] watchdog: coh901327: make use of timeout-secs provided in devicetree

2018-02-10 Thread Marcus Folkesson
Hi, On Fri, Feb 09, 2018 at 02:52:00PM -0800, Guenter Roeck wrote: > On Fri, Feb 09, 2018 at 08:27:24PM +0100, Marcus Folkesson wrote: > > watchdog_init_timeout() will allways pick timeout_param since it > > defaults to a valid timeout. > > > > Following best practice described in > > Documentati

Re: [PATCH 7/7] watchdog: coh901327: make use of timeout-secs provided in devicetree

2018-02-09 Thread Guenter Roeck
On Fri, Feb 09, 2018 at 08:27:24PM +0100, Marcus Folkesson wrote: > 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. > > S

[PATCH 7/7] watchdog: coh901327: make use of timeout-secs provided in devicetree

2018-02-09 Thread Marcus Folkesson
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 --- drivers/watchdog/coh901327_wdt.c | 2 +- 1 fi