summaryrefslogtreecommitdiff
path: root/drivers/watchdog/booke_wdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-01-26 01:21:10 +0300
committerGuenter Roeck <linux@roeck-us.net>2017-02-25 01:00:23 +0300
commitbb292ac1c6028344013309a309b44dc691581825 (patch)
treeb4f36b0a8cf8a8c23026c1f12c2719bd96f53d55 /drivers/watchdog/booke_wdt.c
parent540aea3dbffc6a75d0b3b77db1cde36a065a6ab5 (diff)
downloadlinux-bb292ac1c6028344013309a309b44dc691581825.tar.xz
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: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/watchdog/booke_wdt.c')
0 files changed, 0 insertions, 0 deletions