[PATCH -next 0/2] irqchip: Do not check for 0 return after calling platform_get_irq()
Ruan Jinjie
ruanjinjie at huawei.com
Thu Aug 3 01:34:50 PDT 2023
Since commit a85a6c86c25b ("driver core: platform: Clarify that
IRQ 0 is invalid"), there is no possible for
platform_get_irq() to return 0.
And the return value of platform_get_irq() is more sensible
to show the error reason.
Ruan Jinjie (2):
irqchip/imx-mu-msi: Do not check for 0 return after calling
platform_get_irq()
irqchip/irq-pruss-intc: Do not check for 0 return after calling
platform_get_irq()
drivers/irqchip/irq-imx-mu-msi.c | 4 ++--
drivers/irqchip/irq-pruss-intc.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
--
2.34.1
More information about the linux-arm-kernel
mailing list