diff options
author | Guenter Roeck <[email protected]> | 2023-03-04 08:56:53 -0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-04-22 12:53:39 +0200 |
commit | 89baf2522ba3a82b7aa61dba023a8092b8ff1d5b (patch) | |
tree | 66ef9729ea63ac9919eb36d48714e08f006d41c0 /tools/perf/scripts/python | |
parent | 9b31b1ea125ca2e734ae89badc0c3073b4445842 (diff) |
watchdog: s3c2410_wdt: Use devm_add_action_or_reset() to disable watchdog
Use devm_add_action_or_reset() to disable the watchdog when the driver
is removed to simplify the code. With this in place, we can use
devm_watchdog_register_device() to register the watchdog, and the removal
function is no longer necessary.
Cc: Uwe Kleine-König <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions