diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-01-04 10:59:10 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-01-04 10:59:10 -0800 |
commit | ab75170520d4964f3acf8bb1f91d34cbc650688e (patch) | |
tree | 8162acd837dbe2337659928476aecb7304ab0098 | |
parent | 63676eefb7a026d04b51dcb7aaf54f358517a2ec (diff) | |
parent | cc0dc9e871a91aadf5b26a2d7760fb762e0d9203 (diff) | |
download | linux-ab75170520d4964f3acf8bb1f91d34cbc650688e.tar.gz |
Merge tag 'linux-watchdog-6.13-rc6' of git://www.linux-watchdog.org/linux-watchdog
Pull watchdog fix from Wim Van Sebroeck:
- fix error message during stm32 driver probe
* tag 'linux-watchdog-6.13-rc6' of git://www.linux-watchdog.org/linux-watchdog:
watchdog: stm32_iwdg: fix error message during driver probe
-rw-r--r-- | drivers/watchdog/stm32_iwdg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/stm32_iwdg.c b/drivers/watchdog/stm32_iwdg.c index d700e0d49bb95d..8ad06b54c5adc6 100644 --- a/drivers/watchdog/stm32_iwdg.c +++ b/drivers/watchdog/stm32_iwdg.c @@ -286,7 +286,7 @@ static int stm32_iwdg_irq_init(struct platform_device *pdev, if (!wdt->data->has_early_wakeup) return 0; - irq = platform_get_irq(pdev, 0); + irq = platform_get_irq_optional(pdev, 0); if (irq <= 0) return 0; |