pinctrl: apple-gpio: Make the irqchip immutable
authorMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:18:42 +0000 (15:18 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:22:26 +0000 (15:22 +0100)
commit374b87a0fcf9fa5dd1379271337ae19f95682956
tree96a1628179a279e8db9f9d17e5fd762d5a90a996
parent15d8c14ac849f41f2d41dbddb69f402aaf73ff8b
pinctrl: apple-gpio: Make the irqchip immutable

Prevent gpiolib from messing with the irqchip by advertising
the irq_chip structure as immutable, making it const, and adding
the various calls that gpiolib relies upon.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220419141846.598305-7-maz@kernel.org
drivers/pinctrl/pinctrl-apple-gpio.c