irqchip/irq-bcm7038-l1: Use irq_get_irq_data()
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 20 Oct 2021 18:48:49 +0000 (11:48 -0700)
committerMarc Zyngier <maz@kernel.org>
Wed, 20 Oct 2021 19:06:32 +0000 (20:06 +0100)
commit4b55192009fc62d2817efa2346ec1c0da4be1033
treefdd8971c1ca0b58fb2b9017c0530f97c8074ade3
parent57de689ce7829219db007dca5c88ae023a8be2d3
irqchip/irq-bcm7038-l1: Use irq_get_irq_data()

Using irq_desc_get_irq_data(irq_to_desc()) to retrieve the irq_data
structure from a virtual interrupt number is going to be problematic to
make irq-bcm7038-l1 a module because irq_to_desc() is not exported, and
there is no intent to export it to modules, see 64a1b95bb9fe ("genirq:
Restrict export of irq_to_desc()").

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211020184859.2705451-4-f.fainelli@gmail.com
drivers/irqchip/irq-bcm7038-l1.c