gpio: crystalcove: 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>
Mon, 6 Jun 2022 11:09:15 +0000 (14:09 +0300)
commit386cbe7f1b152c8476a7d322d39512b1b4259ed5
tree831e90b9ffede942c28389043182ee63810c9f90
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
gpio: crystalcove: 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>
drivers/gpio/gpio-crystalcove.c