gpio: wcove: 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:16 +0000 (14:09 +0300)
commit41a18c4918dcd57a49b0d046d9f2d587878de739
treeae4ed11c2aa7591e8b8ac7f43fe9e5e74cc232a8
parent68a12c19e1cb0f3332d3f59e1d5447f2aff97cd7
gpio: wcove: 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>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
drivers/gpio/gpio-wcove.c