On Tue, Jan 07, 2014 at 06:50:00PM +0100, Linus Walleij wrote: > On Tue, Nov 26, 2013 at 11:05 AM, Mika Westerberg > <mika.westerberg@xxxxxxxxxxxxxxx> wrote: > > > Instead of asking each driver to register to ACPI events we can just call > > acpi_gpiochip_register_interrupts() for each chip that has an ACPI handle. > > The function checks chip->to_irq and if it is set to NULL (a GPIO driver > > that doesn't do interrupts) the function does nothing. > > > > We also add the a new header drivers/gpio/gpiolib.h that is used for > > functions internal to gpiolib and add ACPI GPIO chip registering functions > > to that header. > > > > Once that is done we can remove call to acpi_gpiochip_register_interrupts() > > from its only user, pinctrl-baytrail.c > > > > Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> > > Acked-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx> > > Two questions: > > - Can you please rebase patches 3-6 on my GPIO tree "devel" branch? Yes. > - Can this patch be placed first? It does not seem to depend on the > others, to to push dependent patches to the end of the series. Sure - I'll post a rebased version in a moment. -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html