diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-22 21:37:08 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-23 19:29:07 -0600 |
commit | d57b61143d8c74dee392fc5be52cb6ec5a15b8fc (patch) | |
tree | e0a563c6a8bb2380940e7727d01482b84ec2582d /arch/arm | |
parent | 2539f3926c5d969c76a34d680bc70f82ec8f25d5 (diff) |
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 'arch/arm')
0 files changed, 0 insertions, 0 deletions