gpio: max77620: Make the irqchip immutable
authorJon Hunter <jonathanh@nvidia.com>
Wed, 4 May 2022 14:44:06 +0000 (15:44 +0100)
committerBartosz Golaszewski <brgl@bgdev.pl>
Thu, 5 May 2022 12:56:37 +0000 (14:56 +0200)
commit7f42aa7b008c611743daf830e5ac4066e8ae276f
treefe82ce54264355f315153ce7c606dd6c1884423a
parent2d4fdc15f9b7c1cbc1800653f8c1a48ab615cbd8
gpio: max77620: 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 max77620 gpio driver ...

 WARNING KERN gpio gpiochip0: (max77620-gpio): not an immutable chip,
  please consider fixing it!

Fix the above warning by making the max77620 gpio driver immutable.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-max77620.c