OSDN Git Service

gpiolib: Add gpio name information to /sys/kernel/debug/gpio
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 14 Aug 2015 14:11:02 +0000 (16:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 24 Sep 2015 17:48:53 +0000 (10:48 -0700)
commitced433e2a4a0f11362c149daf802157ffb65ee20
tree03569d5b3e5980e8a0a799a9c70fb8317f78c5d4
parentddd5404007b8496f20ad2efe1147e102e6226634
gpiolib: Add gpio name information to /sys/kernel/debug/gpio

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@pengutronix.de>
[Dropped unsolicited sysfs ABI patch hunk]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c