On Tue, May 27, 2014 at 2:38 PM, Alexandre Courbot <gnurou@xxxxxxxxx> wrote: >> + gpiochip_irqchip_add(&cg->chip, &crystalcove_irqchip, 0, >> + handle_simple_irq, IRQ_TYPE_NONE); >> + >> + retval = request_threaded_irq(irq, NULL, crystalcove_gpio_irq_handler, >> + IRQF_ONESHOT, KBUILD_MODNAME, cg); > > Can't you use devm_request_threaded_irq() here? Ah, I suppose doing so would keep the IRQ handler active longer than we want - please ignore this comment. -- 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