[PATCH -next v2 0/2] drm: Do not check for 0 return after calling platform_get_irq()
Ruan Jinjie
ruanjinjie at huawei.com
Wed Aug 2 21:03:58 PDT 2023
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
More information about the Linux-mediatek
mailing list