commit | 2bd08a9073c037cbe3b4c0d3feff84e483325466 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Mar 25 12:22:47 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sat Apr 18 11:11:27 2015 -0600 |
tree | 889e747473ab5ee8b7d8e30751b708cd9df7241a | |
parent | 6f7d342599c0c8de45fbb322094a475d4dfc9f51 [diff] |
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>