gpio: pcf857x: Make the irqchip immutable
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 20 May 2022 10:20:57 +0000 (12:20 +0200)
committerBartosz Golaszewski <brgl@bgdev.pl>
Tue, 24 May 2022 14:35:42 +0000 (16:35 +0200)
commit61550be779dcb82cb96852721bac652144a0d0b9
tree6e667887b6093cc64aea71ea3d41c836cdde8992
parentac2f6f9385aa27b9a73156885be9765299b8e11f
gpio: pcf857x: 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 pcf857x driver:

    gpio gpiochip1: (pcf8575): not an immutable chip, please consider fixing it!

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

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