Re: [PATCH] gpio: create an API to detect open drain/source on lines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 18, 2016 at 09:47:07PM +0100, Linus Walleij wrote:
> On Wed, Feb 17, 2016 at 1:21 AM, Nicolas Saenz Julienne
> <nicolassaenzj@xxxxxxxxx> wrote:
> > On Tue, Feb 16, 2016 at 03:46:19PM +0100, Linus Walleij wrote:
> >> My left hand merges code to privatize the descriptor handling
> >> while my right hand merges drivers that poke around and
> >> disrespect with the same gpiolib internals.
> >>
> >> So let's expose the proper APIs for drivers to ask the gpiolib
> >> core if a line is marked as open drain or open source and
> >> get some order around things so this driver compiles again.
> >
> > Thanks, looks way better now, I'd suggest to remove the "gpiolib.h"
> > include since it's not needed anymore. I can do it's on a separate patch
> > on top of this one if you prefer :)

Sorry I wasn't more clear. What I meant to say it's that we can now remove the
#include "gpiolib.h" from gpio-tps65218 driver since the line config query
functions are included in "gpio/driver.h".

--
Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux