Skip to content
Snippets Groups Projects
Commit a6f8f81e authored by John Crispin's avatar John Crispin Committed by Wim Van Sebroeck
Browse files

watchdog: rt2880_wdt: minor clean up


Replace device_reset() with devm_reset_control_get() + reset_control_deassert().
Make use of watchdog_init_timeout() instead of setting the timeout manually.

Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent b91b5be5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment