Skip to content

Commit ab75170

Browse files
committed
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
2 parents 63676ee + cc0dc9e commit ab75170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/watchdog/stm32_iwdg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ static int stm32_iwdg_irq_init(struct platform_device *pdev,
286286
if (!wdt->data->has_early_wakeup)
287287
return 0;
288288

289-
irq = platform_get_irq(pdev, 0);
289+
irq = platform_get_irq_optional(pdev, 0);
290290
if (irq <= 0)
291291
return 0;
292292

0 commit comments

Comments
 (0)