[PATCH v3 6/9] gpiolib-sysfs: Show gpio-name in /sys/class/gpio/gpio*/name

Linus Walleij linus.walleij at linaro.org
Mon Sep 21 18:07:51 PDT 2015


On Fri, Aug 14, 2015 at 7:11 AM, Markus Pargmann <mpa at pengutronix.de> wrote:

> This patch adds a sysfs attribute 'name' to gpios that were exported. It
> exposes the newly added name property of gpio descriptors.
>
> Signed-off-by: Markus Pargmann <mpa at pengutronix.de>

The previous hunk adding the name to the sysfs ABI should
be in this patch.

But I have a problem with this. What is the rationale? The directory
that contains the file already has this name. Why should this
information be duplicated?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list