lkml.org 
[lkml]   [2013]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] gpiolib-acpi: introduce acpi_get_gpio_by_index() helper
    Date
    On Friday, April 12, 2013 12:33:55 AM Linus Walleij wrote:
    > On Wed, Apr 3, 2013 at 12:56 PM, Mika Westerberg
    > <mika.westerberg@linux.intel.com> wrote:
    >
    > > Instead of open-coding ACPI GPIO resource lookup in each driver, we provide
    > > a helper function analogous to Device Tree version that allows drivers to
    > > specify which GPIO resource they are interested (using an index to the GPIO
    > > resources). The function then finds out the correct resource, translates
    > > the ACPI GPIO number to the corresponding Linux GPIO number and returns
    > > that.
    > >
    > > Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
    >
    > Patch applied with Rafael's ACK and pushed.

    Thanks a lot Linus!

    Rafael


    --
    I speak only for myself.
    Rafael J. Wysocki, Intel Open Source Technology Center.


    \
     
     \ /
      Last update: 2013-04-12 01:21    [W:4.586 / U:0.112 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site