mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
Add support for watchdog drivers to initialize/set the timeout field of the watchdog_device structure. The timeout field is initialised either with the module timeout parameter value (if valid) or with the timeout-sec dt property (if valid). If both are invalid the initial value is unchanged. Signed-off-by: Fabio Porcedda <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>