staging: comedi: serial2002: usleep_range is preferred over udelay
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 17 Aug 2015 20:18:42 +0000 (13:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:18 +0000 (18:24 -0700)
commit3335dfd1ab5f02915fb2aeeace41526f92d8b560
tree1dd78f3100f9d29feff31a3ac39a123fdde42c20
parent28a2993e3e7c02d0b4312df80ada4c27f830c9d5
staging: comedi: serial2002: usleep_range is preferred over udelay

Fix checkpatch issue: "CHECK: usleep_range is preferred over udelay;
see Documentation/timers/timers-howto.txt". Replace the udelay() with
usleep_range() with a reasonable upper limit.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/serial2002.c