Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment