OSDN Git Service

irqchip/qcom-pdc: Kill PDC_NO_PARENT_IRQ
authorMarc Zyngier <maz@kernel.org>
Thu, 24 Feb 2022 10:12:22 +0000 (10:12 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 1 Mar 2022 10:06:24 +0000 (10:06 +0000)
commit8d4c998919320206f8832dc413e23fdd27ef2274
treefb5f85c590497034ac2a648669188a26f5eae35a
parentdfd42facf1e4ada021b939b4e19c935dcdd55566
irqchip/qcom-pdc: Kill PDC_NO_PARENT_IRQ

PDC_NO_PARENT_IRQ is pretty pointless, as all it indicates is
that the PDC terminates the interrupt hierarchy. Which is
exactly the same as not having a mapping in the GIC space.
This is also bad practice to treat the absence of a hwirq
as a hwirq itself.

Just explicitly use the region mapping pointer, and drop
the definition.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Maulik Shah <quic_mkshah@quicinc.com>
Link: https://lore.kernel.org/r/20220224101226.88373-2-maz@kernel.org
drivers/irqchip/qcom-pdc.c