Skip to content
Commit 5f3ca732 authored by Markus Schneider-Pargmann's avatar Markus Schneider-Pargmann Committed by Linus Walleij
Browse files

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: default avatarMarkus Pargmann <mpa@pengutronix.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c0017ed7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment