staging: rtl8192u: Replace mdelay with msleep in rtl8192_usb_probe
authorJia-Ju Bai <baijiaju1990@gmail.com>
Sun, 24 Dec 2017 10:16:55 +0000 (18:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:45:45 +0000 (16:45 +0100)
commit23cb746b5e9dea31948b159adbc7e77af57ea24e
treee0f212907d7b6a42c8be2ca4bbe8079bb65ad6b9
parent357f862bd214bf3206d5450047b9c0348edb430a
staging: rtl8192u: Replace mdelay with msleep in rtl8192_usb_probe

rtl8192_usb_probe is not called in an interrupt handler
nor holding a spinlock.
The function mdelay in it can be replaced with msleep,
to avoid busy wait.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
drivers/staging/rtl8192u/r8192U_core.c