gpiolib: Use GPIO name from names array for gpio descriptor
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 14 Aug 2015 14:11:00 +0000 (16:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 24 Sep 2015 17:48:52 +0000 (10:48 -0700)
commit5f3ca7329b049b40667a190ddf14b69afdb91576
treef128f96eea0472c398bc46c3ced0a665c30d660a
parentc0017ed71966a19ec40c7bc900d4338ddfbc4105
gpiolib: Use GPIO name from names array for gpio descriptor

This patch adds GPIO names to the GPIO descriptors when initializing the
gpiochip. It also introduces a check whether any of the new names will
conflict with an existing GPIO name.

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