HID: cp2112: Make irq_chip immutable
[ Upstream commit 3e2977c4 ] 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/20230703185222.50554-4-andriy.shevchenko@linux.intel.com Signed-off-by:
Benjamin Tissoires <bentiss@kernel.org> Stable-dep-of: dc3115e6 ("hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment