On Tue, Jul 30, 2019 at 12:43 PM Andy Shevchenko andriy.shevchenko@linux.intel.com wrote:
The API, which belongs to GPIO library, is foreign to ACPI headers. Earlier we moved out I²C out of the latter, and now it's time for acpi_dev_add_driver_gpios() et al.
For time being the acpi_gpio_get_irq_resource() and acpi_dev_gpio_irq_get() are left untouched as they need more thought about.
Note, it requires uninline acpi_dev_remove_driver_gpios() to keep purity of consumer.h.
Cc: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com Cc: Liam Girdwood liam.r.girdwood@linux.intel.com Cc: Jie Yang yang.jie@linux.intel.com Cc: Mark Brown broonie@kernel.org Cc: alsa-devel@alsa-project.org (moderated list:INTEL ASoC DRIVERS) Signed-off-by: Andy Shevchenko andriy.shevchenko@linux.intel.com
Patch applied!
Just a bit worried that this will collide with Masahiro's #ifdef-reduction, but I wanted to keep your series together.
Yours, Linus Walleij