[PATCH v3 3/9] gpiolib: Use GPIO name from names array for gpio descriptor

Linus Walleij linus.walleij at linaro.org
Thu Sep 24 14:50:16 PDT 2015


On Wed, Sep 23, 2015 at 3:02 PM, Johan Hovold <johan at kernel.org> wrote:

> Before figuring out what a sane userspace interface should look like we
> should not make ABI changes that we need to support indefinitely. The
> legacy sysfs interface should instead be frozen.
>
> Exposing a name attribute for a not-necessarily globally unique name
> could perhaps be ok, but by enforcing uniqueness at this point we will
> then need to come up with another mechanism for naming gpios on dynamic
> buses (while maintaining this one indefinitely in parallel).
>
> Linus, please consider dropping these changes for now.

I rounded off the series after moving the name attribute to the descriptor
before doing any ABI changes, as it seems we need to discuss this.

This patch concludes that part of the series, sent a separate patch
concluding this first half of the series.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list