Messages in this thread | | | Subject | Re: [PATCH v1] gpio: acpi: Add managed variant of acpi_dev_add_driver_gpios() | From | Andy Shevchenko <> | Date | Tue, 14 Mar 2017 14:27:06 +0200 |
| |
On Tue, 2017-03-14 at 10:58 +0100, Linus Walleij wrote: > On Thu, Mar 2, 2017 at 2:48 PM, Andy Shevchenko > <andriy.shevchenko@linux.intel.com> 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 <andriy.shevchenko@linux.intel.com> > > --- > > > > 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 <andriy.shevchenko@linux.intel.com> Intel Finland Oy
| |