drm/mediatek: Do not check for 0 return after calling platform_get_irq()
authorRuan Jinjie <ruanjinjie@huawei.com>
Thu, 3 Aug 2023 04:04:00 +0000 (12:04 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Thu, 10 Aug 2023 23:36:10 +0000 (23:36 +0000)
commit61a97dec5f432cf33e4ac7460b9e02abf031f2c1
tree0dfc9dbdae18a5cf8f90747e6a2dcab26c265013
parent828c91231fbe6caf0bdb09a473cfeb6e845a58b8
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>
drivers/gpu/drm/mediatek/mtk_dpi.c