dm: usb: Adjust usb command to prepare for driver model
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:00 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:20 +0000 (11:11 -0600)
commitcad4291cd053f8eaa404e47ab289a6169c19ae93
treecbb838c01e3397cd0f97162f67d76d2745c6ee01
parentde31213fb8f1cc25f7e9096029a44dee7a774167
dm: usb: Adjust usb command to prepare for driver model

Use 'udev' instead of 'dev' in a few places, reserving 'dev' for driver
model's struct udevice. Also adjust the code in a few minor ways to make
it easier to plumb in driver model.

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