dm: gpio: Add dm_gpio_lookup_name() to look up a GPIO name
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:40 +0000 (15:38 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:23 +0000 (17:39 -0600)
commit32ec159844d7b76f199b07412dd054ad842bdd58
tree3765e136371dcbbd00e1808c92914fec72a90bd0
parentce22c5bbeed179161647f2bc707751761e6fe4bf
dm: gpio: Add dm_gpio_lookup_name() to look up a GPIO name

Provide a driver-model function to look up a GPIO name. Make the standard
function use it.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/gpio-uclass.c
include/asm-generic/gpio.h