As requested switch to GPIOLIB_IRQCHIP. Following similar changes in gpio-stmpe.c Test with SPI mcp23s18, with input keys connected to GPIO. IRQ's triggered ok. I'm a little unclear on the remove path, but it looks like the GPIOLIB now takes care of the irq_dispose_mapping and remove irq_domain_remove. Phil Reid (1): gpio: mcp23s08: switch to use gpiolib irqchip helpers drivers/gpio/Kconfig | 1 + drivers/gpio/gpio-mcp23s08.c | 85 ++++++++++++++++---------------------------- 2 files changed, 31 insertions(+), 55 deletions(-) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html