mbox series

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

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

Message

Jinjie Ruan Aug. 3, 2023, 10:48 a.m. UTC
Since commit ce753ad1549c ("platform: finally disallow IRQ0 in
platform_get_irq() and its ilk"), 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):
  soc: fsl: qe: Do not check for 0 return after calling
    platform_get_irq()
  soc: xilinx: Do not check for 0 return after calling
    platform_get_irq()

 drivers/soc/fsl/qe/qe_ic.c        | 4 ++--
 drivers/soc/xilinx/zynqmp_power.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)