On Tue, 2017-03-14 at 10:58 +0100, Linus Walleij wrote: > On Thu, Mar 2, 2017 at 2:48 PM, Andy Shevchenko > <[email protected]> wrote: > > > 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 > > them. > > > > Signed-off-by: Andy Shevchenko <[email protected]> > > --- > > > > 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.
Thanks! -- Andy Shevchenko <[email protected]> Intel Finland Oy

