pinctrl: actions: make irq_chip immutable
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Oct 2022 13:33:37 +0000 (16:33 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Oct 2022 08:41:25 +0000 (10:41 +0200)
commitafb8d5f4311585a9d79ca45da3e53c382e826e7b
tree08bfd538f53a26d1f61d5710d479fc1daaf3f712
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
pinctrl: actions: make irq_chip immutable

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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221005133337.19245-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/actions/pinctrl-owl.c