staging: ft1000-usb: use usleep_range instead of msleep

This fixes the following checkpatch.pl warning:
WARNING : msleep < 20ms can sleep for up to 20ms; see
Documentation/timers/timers-howto.txt

Signed-off-by: Catalina Mocanu <catalina.mocanu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Catalina Mocanu 2014-09-24 13:54:15 -07:00 committed by Greg Kroah-Hartman
parent ed9034f58e
commit c0a7b1cbbf

View file

@ -41,7 +41,7 @@ static int ft1000_poll_thread(void *arg)
int ret;
while (!kthread_should_stop()) {
msleep(10);
usleep_range(10000, 11000);
if (!gPollingfailed) {
ret = ft1000_poll(arg);
if (ret != 0) {