]> git.sur5r.net Git - u-boot/commit
dm: usb: tegra: Move most of init/uninit into a function
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:47 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:27 +0000 (11:11 -0600)
commitddb9a502d18008e845d5a8fa03ec48630fa77fb7
tree889e747473ab5ee8b7d8e30751b708cd9df7241a
parent7e27bddae02862f4bb9dff89c97713da326ea4b2
dm: usb: tegra: Move most of init/uninit into a function

We want to use mostly the same init and uninit code for driver model, so move
the common part into two functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/host/ehci-tegra.c