summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/omap_hsmmc.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-22 21:37:08 -0600
committerSimon Glass <sjg@chromium.org>2014-10-23 19:29:07 -0600
commitd57b61143d8c74dee392fc5be52cb6ec5a15b8fc (patch)
treee0a563c6a8bb2380940e7727d01482b84ec2582d /drivers/mmc/omap_hsmmc.c
parent2539f3926c5d969c76a34d680bc70f82ec8f25d5 (diff)
downloadtalos-obmc-uboot-d57b61143d8c74dee392fc5be52cb6ec5a15b8fc.tar.gz
talos-obmc-uboot-d57b61143d8c74dee392fc5be52cb6ec5a15b8fc.zip
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>
Diffstat (limited to 'drivers/mmc/omap_hsmmc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud