diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-03 07:04:00 +0300 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2023-08-11 02:36:10 +0300 |
commit | 61a97dec5f432cf33e4ac7460b9e02abf031f2c1 (patch) | |
tree | 0dfc9dbdae18a5cf8f90747e6a2dcab26c265013 /drivers/watchdog/rc32434_wdt.c | |
parent | 828c91231fbe6caf0bdb09a473cfeb6e845a58b8 (diff) | |
download | linux-61a97dec5f432cf33e4ac7460b9e02abf031f2c1.tar.xz |
drm/mediatek: Do not check for 0 return after calling platform_get_irq()
It is not possible for platform_get_irq() to return 0. Use the
return value from platform_get_irq().
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20230803040401.3067484-3-ruanjinjie@huawei.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'drivers/watchdog/rc32434_wdt.c')
0 files changed, 0 insertions, 0 deletions