diff options
| author | Clément Le Goffic <[email protected]> | 2024-12-18 09:22:27 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2024-12-30 14:28:02 +0000 |
| commit | cc0dc9e871a91aadf5b26a2d7760fb762e0d9203 (patch) | |
| tree | 139e30e3f8b99d97de72c12c00860cd0f665d72a /net/unix/af_unix.c | |
| parent | Linux 6.13-rc5 (diff) | |
| download | kernel-cc0dc9e871a91aadf5b26a2d7760fb762e0d9203.tar.gz kernel-cc0dc9e871a91aadf5b26a2d7760fb762e0d9203.zip | |
watchdog: stm32_iwdg: fix error message during driver probe
The commit 3ab1663af6c1 ("watchdog: stm32_iwdg: Add pretimeout support")
introduces the support for the pre-timeout interrupt.
The support for this interrupt is optional but the driver uses the
platform_get_irq() which produces an error message during the driver
probe if we don't have any `interrupts` property in the DT.
Use the platform_get_irq_optional() API to get rid of the error message
as this property is optional.
Fixes: 3ab1663af6c1 ("watchdog: stm32_iwdg: Add pretimeout support")
Signed-off-by: Clément Le Goffic <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
