]> 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)
commitcc62986d0f94bf726a6dfe6d4e1f19986098b91b
tree3166c9462ed73a7437313f0d97c6074bdb248c65
parentaf290fc46e172e115b7455d5bdad9cf1f1e422cd
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