Re: [PATCH v1] gpio: acpi: Add managed variant of acpi_dev_add_driver_gpios()
From: Linus Walleij
Date: Tue Mar 14 2017 - 05:58:59 EST
On Thu, Mar 2, 2017 at 2:48 PM, Andy Shevchenko
> Introduce device managed variant of acpi_dev_add_driver_gpios() and its
> counterpart acpi_dev_remove_driver_gpios().
> The functions in most cases are used in driver's ->probe() and
> ->remove() callbacks, that's why it's useful to have managed variant of
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> This is supposed to go through GPIO tree.
> Linus, can you create an immutable branch that other subsystems can use
> it if needed?
I have created ib-acpi-devm in the GPIO tree based on v4.11-rc1, applied
this patch and merged that into my devel branch.
Anyone who needs it can grab that branch, I will push it out later.