r8152: use usleep_range
authorhayeswang <hayeswang@realtek.com>
Tue, 9 Sep 2014 03:40:28 +0000 (11:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 03:10:44 +0000 (20:10 -0700)
commit8ddfa07778afdd9e00406a6a8ede827d51d9f26e
tree7cb5122ff69c397242d35e0d95bb18e13e175341
parent67cc0d4077951295f42bed63805e91b46c24477b
r8152: use usleep_range

Replace mdelay with usleep_range to avoid busy loop.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c