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)
commitddd5404007b8496f20ad2efe1147e102e6226634
tree3166c9462ed73a7437313f0d97c6074bdb248c65
parent5f3ca7329b049b40667a190ddf14b69afdb91576
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