Skip to content

Commit

Permalink
Merge tag 'linux-watchdog-6.13-rc6' of git://www.linux-watchdog.org/l…
Browse files Browse the repository at this point in the history
…inux-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
  • Loading branch information
Linus Torvalds committed Jan 4, 2025
2 parents 63676ee + cc0dc9e commit ab75170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/stm32_iwdg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ab75170

Please sign in to comment.