linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next 0/2] soc: Do not check for 0 return after calling platform_get_irq()
@ 2023-08-03 10:48 Ruan Jinjie
  2023-08-03 10:48 ` [PATCH -next 1/2] soc: fsl: qe: " Ruan Jinjie
  2023-08-03 10:48 ` [PATCH -next 2/2] soc: xilinx: " Ruan Jinjie
  0 siblings, 2 replies; 4+ messages in thread
From: Ruan Jinjie @ 2023-08-03 10:48 UTC (permalink / raw)
  To: linuxppc-dev, linux-arm-kernel, qiang.zhao, leoyang.li,
	michal.simek, robh
  Cc: ruanjinjie

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-04  8:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-03 10:48 [PATCH -next 0/2] soc: Do not check for 0 return after calling platform_get_irq() Ruan Jinjie
2023-08-03 10:48 ` [PATCH -next 1/2] soc: fsl: qe: " Ruan Jinjie
2023-08-03 10:48 ` [PATCH -next 2/2] soc: xilinx: " Ruan Jinjie
2023-08-04  6:53   ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).