summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/usb.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-01-29 11:05:25 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2015-02-02 11:46:30 +0100
commit262eef7c6a8132c29649e340940eb19e0e86eb65 (patch)
treecc24734d3a8d67dba5dc0b32ca4db0baaa0f4144 /drivers/usb/core/usb.c
parent5dc01bc9421afa5ec52dcd7cb81f0c28ce02fdb5 (diff)
downloadbarebox-262eef7c6a8132c29649e340940eb19e0e86eb65.tar.gz
barebox-262eef7c6a8132c29649e340940eb19e0e86eb65.tar.xz
usb: abolish wait_ms() function
This function is only used in drivers/usb/*. It is equivalent to mdelay(). Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/core/usb.c')
-rw-r--r--drivers/usb/core/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
index 3f3d59577c..d1c3e0394d 100644
--- a/drivers/usb/core/usb.c
+++ b/drivers/usb/core/usb.c
@@ -372,7 +372,7 @@ int usb_new_device(struct usb_device *dev)
goto err_out;
}
- wait_ms(10); /* Let the SET_ADDRESS settle */
+ mdelay(10); /* Let the SET_ADDRESS settle */
tmp = sizeof(*dev->descriptor);