pinctrl: intel: make irq_chip immutable
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 12 May 2022 17:39:21 +0000 (20:39 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 18 May 2022 12:42:10 +0000 (15:42 +0300)
commit6fb6f8bf888edca56e2a86781de798cca4d7b832
tree52fb19f49b8442b567c611132bbc5c0eed7d87aa
parent68aa84ff28ba5f5dfcb290b260600b0d61558703
pinctrl: intel: 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>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c