]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:57 +0000 (21:47 +0200)
commit6e15ee004ce50228711a744cea889d18e8b70de8
treed01073ad98ffd8166bd9f8a6ecb7196527bd51df
parentbed0b4ec93fb4163ed2f5b3b9d4f8771489c49d4
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