gpiolib: Introduce gpio_find_by_label()
Introduce gpio_find_by_label() in order to allow manipulating GPIOs by
the labels assigned to them via DT or board/driver code.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 05a4b7d commit 183502af192962b0187d6f2ddc6e6a68b38869d0
@Andrey Smirnov Andrey Smirnov authored on 26 Oct 2018
Sascha Hauer committed on 29 Oct 2018
Showing 2 changed files
View
drivers/gpio/gpiolib.c
View
include/gpio.h