]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: merrifield: 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)
commit247f54da3304ce42ce13845e0d5cbc57c39a5055
tree9cad331762a91f3d7f61210fa008609f63a61dca
parentb17c4e01e9ab5259d22e6f04acc183ae210a448a
gpio: merrifield: 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-merrifield.c