]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: usb: Split out more code from usb_new_device()
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:06 +0000 (12:22 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:53 +0000 (21:47 +0200)
commite0385c6d24f759135757daf0062611c61b4fbced
tree05a3f734c2e5920efc35ea0cd848416351b6ddde
parent4c2ccd4785b9485004b0b06e535e5957810d3dfa
dm: usb: Split out more code from usb_new_device()

Move the code that sets up the device with a new address into its own
function, usb_prepare_device().

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