[PATCH 6/6] gpiolib: Add gpio name information to /sys/kernel/debug/gpio

Alexandre Courbot gnurou at gmail.com
Mon Aug 17 00:29:18 PDT 2015


On Mon, Aug 10, 2015 at 7:02 PM, Linus Walleij <linus.walleij at linaro.org> wrote:
> On Tue, Aug 4, 2015 at 11:23 AM, Markus Pargmann <mpa at pengutronix.de> wrote:
>
>> Add some information about gpio names to the debugfs gpio file. name and
>> label of a GPIO are then displayed next to each other. This way it is
>> easy to see what the real name of GPIO is and what the driver requested
>> it for.
>>
>> Signed-off-by: Markus Pargmann <mpa at pengutronix.de>
>
> This patch looks correct in the context.

Looks correct indeed, but on a related note one might question the
need to have both a "name" and a "label" for a GPIO?



More information about the linux-arm-kernel mailing list