From: Tom Rini Date: Wed, 22 Oct 2014 11:59:27 -0400 Subject: [U-Boot] [PATCH 08/14] dm: omap: gpio: Put _get_gpio_value() logic into its own function In-Reply-To: <1411400934-7754-9-git-send-email-sjg@chromium.org> References: <1411400934-7754-1-git-send-email-sjg@chromium.org> <1411400934-7754-9-git-send-email-sjg@chromium.org> Message-ID: <20141022155927.GR25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: