Revert "gpio-sysfs: Use gpio descriptor name instead of gpiochip names array"
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Oct 2015 11:07:47 +0000 (13:07 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Oct 2015 11:07:47 +0000 (13:07 +0200)
commit78856ac0dd33036ae08a18b644e9fa40b30ee011
tree028b48aa009348c542b2050e9cfa819adf59ff34
parentf32517bf1ae0a2de72b3f27200233bd3ad65bfeb
Revert "gpio-sysfs: Use gpio descriptor name instead of gpiochip names array"

This reverts commit ddd5404007b8496f20ad2efe1147e102e6226634.

We need to preserve only using this naming strategy for names
coming from chip->names[], the descripor->name field is for the
new interface.
drivers/gpio/gpiolib-sysfs.c