Skip to content
Commit 9b0f8a9d authored by Alexander Stein's avatar Alexander Stein Committed by Greg Kroah-Hartman
Browse files

gpio: vf610: make irq_chip immutable

[ Upstream commit e6ef4f8e

 ]

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: default avatarAlexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Stable-dep-of: 43023261

 ("gpio: vf610: mask the gpio irq in system suspend and support wakeup")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1f38ead7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment