Commit bb292ac1 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

watchdog: Introduce watchdog_stop_on_unregister helper



Many watchdog drivers explicitly stop the watchdog when unregistering it.
While it is unclear if this is actually needed (the whatdog should not be
running at that time if it can be stopped), introduce a helper to
explicitly stop the watchdog in the watchdog core when unregistering it.
This helps reducing driver code size while retaining functionality.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 540aea3d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment