gpio: pca953x: Make the irqchip immutable
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 20 May 2022 10:21:54 +0000 (12:21 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Tue, 24 May 2022 14:35:37 +0000 (16:35 +0200)
commitac2f6f9385aa27b9a73156885be9765299b8e11f
treeae8e0cec949b367deb25cd8ee36a957128a4c30d
parentcfc2b00ebed6660a10d1be09f2dd6957556ce6a5
gpio: pca953x: Make the irqchip immutable

Commit 6c846d026d49 ("gpio: Don't fiddle with irqchips marked as
immutable") added a warning to indicate if the gpiolib is altering the
internals of irqchips.  Following this change the following warning is
now observed for the pca953x driver:

    gpio gpiochip7: (0-0020): not an immutable chip, please consider fixing it!

Fix this by making the irqchip in the pca953x driver immutable.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-pca953x.c