[U-Boot] [PATCH 08/14] dm: omap: gpio: Put _get_gpio_value() logic into its own function

Tom Rini trini at ti.com
Wed Oct 22 17:59:27 CEST 2014


On Mon, Sep 22, 2014 at 09:48:48AM -0600, Simon Glass wrote:

> 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 at chromium.org>

Reviewed-by: Tom Rini <trini at ti.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141022/c19d79f5/attachment.pgp>


More information about the U-Boot mailing list