mbox series

[-next,0/2] irqchip: Do not check for 0 return after calling platform_get_irq()

Message ID 20230803083452.4085650-1-ruanjinjie@huawei.com (mailing list archive)
Headers show
Series irqchip: Do not check for 0 return after calling platform_get_irq() | expand

Message

Jinjie Ruan Aug. 3, 2023, 8:34 a.m. UTC
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(-)