[PATCH RFC 02/15 v5] gpio: Add sysfs support to block GPIO API

Linus Walleij linus.walleij at linaro.org
Mon Oct 22 04:55:48 EDT 2012


On Fri, Oct 19, 2012 at 1:51 PM, Roland Stigge <stigge at antcom.de> wrote:

> [Me]
>> The block GPIO stuff is just following that design pattern.
>
> So what do you think about my just proposed idea of always having the
> "value" argument present, but only useable when "exported" is "1"? Now
> only talking about the block gpios, but later maybe also for gpios?

We should atleast be consistent and do it the same way for
blocks as individual gpios.

> But I would only do this if you and Greg consider it reasonable.

I'm still afraid of this whole thing and would seek Grant's consent.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list