]> git.baikalelectronics.ru Git - kernel.git/commit
gpio-sysfs: Use gpio descriptor name instead of gpiochip names array
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 14 Aug 2015 14:11:01 +0000 (16:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 24 Sep 2015 17:48:52 +0000 (10:48 -0700)
commit6ebacfa6d973bb5f86759a6f857d6d9a2393cf82
tree3166c9462ed73a7437313f0d97c6074bdb248c65
parent4933fe20794131b72c3a45cf4efce65ce50a56ca
gpio-sysfs: Use gpio descriptor name instead of gpiochip names array

The name is now stored in the gpio descriptor as well, for example to
allow to store names from DT. This patch changes the sysfs gpio files
to use the gpio descriptor name.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-sysfs.c