summary refs log tree commit diff
path: root/drivers/watchdog/s3c2410_wdt.c
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@google.com>2021-12-08 17:55:55 +0800
committerWim Van Sebroeck <wim@linux-watchdog.org>2022-01-05 10:33:16 +0100
commit1bafac47a4f70a169427ffcf59fb673d23e39105 (patch)
tree1fac20ba40046f754a3a92d908344052154a45b1 /drivers/watchdog/s3c2410_wdt.c
parent2cbc5cd0b55fa2310cc557c77b0665f5e00272de (diff)
downloadlinux-1bafac47a4f70a169427ffcf59fb673d23e39105.tar.gz
watchdog: mtk_wdt: use platform_get_irq_optional
The watchdog pre-timeout (bark) interrupt is optional.  Use
platform_get_irq_optional() to avoid seeing such following
error message:
>>> mtk-wdt 10007000.watchdog: IRQ index 0 not found

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20211208095555.4099551-1-tzungbi@google.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/s3c2410_wdt.c')
0 files changed, 0 insertions, 0 deletions