]> 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)
commitaf290fc46e172e115b7455d5bdad9cf1f1e422cd
treef128f96eea0472c398bc46c3ced0a665c30d660a
parent9afbf3022b955fb655d6abe2b0d19bca8af50370
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