pinctrl: msmgpio: Make the irqchip immutable
authorMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:18:43 +0000 (15:18 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 19 Apr 2022 14:22:26 +0000 (15:22 +0100)
commit14dbe186b9d42cbf662eae5a4da14687edbf0edb
treeac967df21f6091b564a1bddf5addc47ac90e3c58
parent374b87a0fcf9fa5dd1379271337ae19f95682956
pinctrl: msmgpio: 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-8-maz@kernel.org
drivers/pinctrl/qcom/pinctrl-msm.c