]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpio: vf610: make irq_chip immutable
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Wed, 15 Feb 2023 09:52:49 +0000 (10:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Oct 2023 10:03:16 +0000 (12:03 +0200)
commit9b0f8a9dfdac3988384ba0fc2178eb6e12da574f
tree4a49b993990eaccc00d9935e0e6095ad02ccdb47
parent1f38ead73f25a889b15fca0ae78b8712dab77692
gpio: vf610: make irq_chip immutable

[ Upstream commit e6ef4f8ede09f4af7cde000717b349b50bc62576 ]

Since recently, the kernel is nagging about mutable irq_chips:

    "not an immutable chip, please consider fixing it!"

Drop the unneeded copy, flag it as IRQCHIP_IMMUTABLE, add the new
helper functions and call the appropriate gpiolib functions.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Stable-dep-of: 430232619791 ("gpio: vf610: mask the gpio irq in system suspend and support wakeup")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpio/gpio-vf610.c