]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4933fe20794131b72c3a45cf4efce65ce50a56ca
treef128f96eea0472c398bc46c3ced0a665c30d660a
parent0676235aba8a0227d009644fb0214c8301593e0b
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