[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAVeFuJLyqHO+uNm-ehLm4QQU-ZyxsZ0KUG4uYSLvBtbvGQeeQ@mail.gmail.com>
Date: Tue, 8 Oct 2013 09:26:14 -0700
From: Alexandre Courbot <gnurou@...il.com>
To: Mika Westerberg <mika.westerberg@...ux.intel.com>
Cc: "linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
rjw@...ysocki.net, Linus Walleij <linus.walleij@...aro.org>,
Grant Likely <grant.likely@...retlab.ca>,
Mathias Nyman <mathias.nyman@...ux.intel.com>,
Alexandre Courbot <acourbot@...dia.com>,
Rob Landley <rob@...dley.net>, linux-acpi@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/5] gpiolib / ACPI: convert to gpiod interfaces
On Tue, Oct 8, 2013 at 3:36 AM, Mika Westerberg
<mika.westerberg@...ux.intel.com> wrote:
> On Tue, Oct 08, 2013 at 11:45:08AM +0300, Mika Westerberg wrote:
>> > I also wonder whether you could also avoid exporting acpi_get_gpiod*
>> > (which allow GPIO consumers to shortcut gpiolib) by implementing
>> > acpi_get_gpio* into the C file (maybe even using gpiod_get()). I see a
>> > "char *path" parameter though, so maybe that would not be possible at
>> > the moment.
>>
>> Good point, I'll check if we can do that.
>
> Looks like we can get rid of acpi_get_gpio() and acpi_get_gpiod() as there
> are no users for those outside gpiolib-acpi. I'm going to do that in the
> next revision.
That's good news. If you can make it such that ACPI GPIO consumers
don't need to include acpi_gpio.h anymore, then this would make my
day. :)
Alex.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists