Since commit a85a6c86c25b ("driver core: platform: Clarify that IRQ 0 is invalid"), there is no possible both for platform_get_irq() and platform_get_irq_byname() to return 0. And the return value of platform_get_irq() or platform_get_irq_byname() is more sensible to show the error reason. Changes in v2: - Update the cover letter to fix the style warning. Ruan Jinjie (2): drm/panfrost: Do not check for 0 return after calling platform_get_irq_byname() drm/mediatek: Do not check for 0 return after calling platform_get_irq() drivers/gpu/drm/mediatek/mtk_dpi.c | 4 ++-- drivers/gpu/drm/panfrost/panfrost_gpu.c | 4 ++-- drivers/gpu/drm/panfrost/panfrost_job.c | 4 ++-- drivers/gpu/drm/panfrost/panfrost_mmu.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) -- 2.34.1