]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: gpio: Refactor to prepare for live tree support
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:09:18 +0000 (20:09 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:10 +0000 (07:03 -0600)
commit3a57123e598ea46fc88a8e29e6932eba02d4ac5f
treeff2ec40f0504e730ccf769a0b4de2e5b8ff3371b
parent6fb2f57916bac47458ca7597b27617a99c492b28
dm: gpio: Refactor to prepare for live tree support

Move the main part of the GPIO request function into a separate function
so that it can be used by the live tree function when added. Update the
xlate method to use a node reference.

Update all GPIO drivers to handle the modified xlate() method.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/74x164_gpio.c
drivers/gpio/gpio-uclass.c
drivers/gpio/pca953x_gpio.c
drivers/gpio/sandbox.c
drivers/gpio/sunxi_gpio.c
drivers/gpio/tegra186_gpio.c
drivers/gpio/tegra_gpio.c
include/asm-generic/gpio.h