Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1600284

Re: [PATCH v1] gpio: acpi: Add managed variant of acpi_dev_add_driver_gpios()

From Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v1] gpio: acpi: Add managed variant of acpi_dev_add_driver_gpios()
Date 2017-03-14 13:30 +0100
Message-ID <tkTKp-8tD-1@gated-at.bofh.it> (permalink)
References <tgzhg-2VJ-21@gated-at.bofh.it> <tkRyW-6XA-13@gated-at.bofh.it>
Organization Intel Finland Oy

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v1] gpio: acpi: Add managed variant of acpi_dev_add_driver_gpios() Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-03-02 14:50 +0100
  Re: [PATCH v1] gpio: acpi: Add managed variant of acpi_dev_add_driver_gpios() "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-03-02 23:20 +0100
  Re: [PATCH v1] gpio: acpi: Add managed variant of acpi_dev_add_driver_gpios() Linus Walleij <linus.walleij@linaro.org> - 2017-03-14 11:10 +0100
    Re: [PATCH v1] gpio: acpi: Add managed variant of  acpi_dev_add_driver_gpios() Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-03-14 13:30 +0100

csiph-web