On Sat, Jul 21, 2018 at 4:23 PM Hedges Alexander <ahedges@xxxxxxxxxxxxxxx> wrote: > From: Michal Simek <michal.simek@xxxxxxxxxx> > Date: Fri, 19 Jul 2013 14:34:36 +0200 > > Only rising edge is supported. > Allocate irq chip per channel. > > Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx> > Signed-off-by: Alexander Hedges <ahedges@xxxxxxx> > (cherry picked from commit 796ae5e3e4ae5f550e0ba01ade34604c83b08cfd) I'm pretty sure this driver can use GPIOLIB_IRQCHIP. Please look at other drivers using this helper library. select GPIOLIB_IRQCHIP Use: gpiochip_irqchip_add() gpiochip_set_chained_irqchip() Yours, Linus Walleij -- 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