diff options
author | ruanjinjie <ruanjinjie@huawei.com> | 2022-11-16 10:49:50 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2023-02-18 15:11:35 +0100 |
commit | 07bec0e09c1afbab4c5674fd2341f4f52d594f30 (patch) | |
tree | 768cc690dae9c504eec31ff6a2f2ce47c5ac8719 /drivers/watchdog/watchdog_dev.c | |
parent | watchdog: rzg2l_wdt: Handle TYPE-B reset for RZ/V2M (diff) | |
download | linux-07bec0e09c1afbab4c5674fd2341f4f52d594f30.tar.xz linux-07bec0e09c1afbab4c5674fd2341f4f52d594f30.zip |
watchdog: at91sam9_wdt: use devm_request_irq to avoid missing free_irq() in error path
free_irq() is missing in case of error in at91_wdt_init(), use
devm_request_irq to fix that.
Fixes: 5161b31dc39a ("watchdog: at91sam9_wdt: better watchdog support")
Signed-off-by: ruanjinjie <ruanjinjie@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20221116094950.3141943-1-ruanjinjie@huawei.com
[groeck: Adjust multi-line alignment]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/watchdog_dev.c')
0 files changed, 0 insertions, 0 deletions