pinctrl: qcom: spmi-gpio: Make irqchip immutable
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 30 Aug 2022 09:22:32 +0000 (14:52 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 8 Sep 2022 12:24:28 +0000 (14:24 +0200)
commit1a41d1e5c8e5c5850a15abf3d18f610e9310b8ef
treea6e1661baa6d9e78aedbbed1b729f43dab622841
parent827eb27ec2e508e1ef5dc36d29db73cbae1ccb40
pinctrl: qcom: spmi-gpio: Make irqchip immutable

The irqchip implementation used inside the gpiochips are not supposed to
be changed during runtime. So let's make the one inside the spmi-gpio
gpiochip immutable.

This fixes the below warning during boot:
gpio gpiochip0: (c440000.spmi:pmic@0:gpio@c000): not an immutable chip, please consider fixing it!

Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20220830092232.168561-1-manivannan.sadhasivam@linaro.org
[switched two lines as indicated by Johan]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c