]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45b37b1defe8bf055cdeffc151a7b526c55e457d
tree03569d5b3e5980e8a0a799a9c70fb8317f78c5d4
parent6ebacfa6d973bb5f86759a6f857d6d9a2393cf82
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