irqchip/irq-pruss-intc: Do not check for 0 return after calling platform_get_irq()
authorRuan Jinjie <ruanjinjie@huawei.com>
Thu, 3 Aug 2023 08:34:52 +0000 (16:34 +0800)
committerMarc Zyngier <maz@kernel.org>
Mon, 21 Aug 2023 16:42:00 +0000 (17:42 +0100)
commitd0afed833970808f141ed52fcc591998087f3a26
tree1db5438c72beb3a7325ec10a1eda727ddfc52128
parent2f54db449b6185024ef884fd3083802e1eae6921
irqchip/irq-pruss-intc: 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>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230803083452.4085650-3-ruanjinjie@huawei.com
drivers/irqchip/irq-pruss-intc.c