On 18/01/2021 13:45, Andy Shevchenko wrote: > On Mon, Jan 18, 2021 at 12:34:26AM +0000, Daniel Scally wrote: >> I need to be able to translate GPIO resources in an acpi_device's _CRS > > ACPI device's > >> into gpio_descs. Those are represented in _CRS as a pathname to a GPIO > > into GPIO descriptor array > >> device plus the pin's index number: this function is perfect for that >> purpose. > > ... > >> diff --git a/include/linux/acpi.h b/include/linux/acpi.h > > Wrong header. Please use gpio/consumer.h. > Ack to all - thanks.
- [PATCH v2 0/7] Introduce intel_skl_int3472 driver Daniel Scally
- [PATCH v2 7/7] mfd: Remove tps68470 MFD driver Daniel Scally
- Re: [PATCH v2 7/7] mfd: Remove tps68470 MFD driv... Laurent Pinchart
- Re: [PATCH v2 7/7] mfd: Remove tps68470 MFD driv... Andy Shevchenko
- Re: [PATCH v2 7/7] mfd: Remove tps68470 MFD ... Joe Perches
- [PATCH v2 5/7] gpio: gpiolib-acpi: Export acpi_get_g... Daniel Scally
- Re: [PATCH v2 5/7] gpio: gpiolib-acpi: Export ac... Laurent Pinchart
- Re: [PATCH v2 5/7] gpio: gpiolib-acpi: Export ac... Andy Shevchenko
- Re: [PATCH v2 5/7] gpio: gpiolib-acpi: Expor... Andy Shevchenko
- Re: [PATCH v2 5/7] gpio: gpiolib-acpi: Expor... Daniel Scally
- [PATCH v2 3/7] i2c: i2c-core-base: Use format macro ... Daniel Scally
- Re: [PATCH v2 3/7] i2c: i2c-core-base: Use forma... Laurent Pinchart
- Re: [PATCH v2 3/7] i2c: i2c-core-base: Use f... Andy Shevchenko
- Re: [PATCH v2 3/7] i2c: i2c-core-base: Use forma... Sakari Ailus
- Re: [PATCH v2 3/7] i2c: i2c-core-base: Use f... Wolfram Sang
- Re: [PATCH v2 3/7] i2c: i2c-core-base: Use f... Sakari Ailus
- Re: [PATCH v2 3/7] i2c: i2c-core-base: Use forma... Andy Shevchenko
- [PATCH v2 6/7] platform: x86: Add intel_skl_int3472 ... Daniel Scally
- Re: [PATCH v2 6/7] platform: x86: Add intel_skl_... Laurent Pinchart
- Re: [PATCH v2 6/7] platform: x86: Add intel_... Andy Shevchenko