Home
last modified time | relevance | path

Searched hist:d57b61143d8c74dee392fc5be52cb6ec5a15b8fc (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/gpio/
H A Domap_gpio.cd57b61143d8c74dee392fc5be52cb6ec5a15b8fc Thu Oct 23 03:37:08 UTC 2014 Simon Glass <sjg@chromium.org> dm: omap: gpio: Put _get_gpio_value() logic into its own function

Add a separate internal helper function to get a GPIO value, so that we
will be able to call it with the driver model version and avoid code
duplication.

Also move gpio_get_bank() and check_gpio() down below the helper functions
as these won't be needed with driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>