OSDN Git Service

staging: comedi: amplc_pci230: usleep_range is preferred over udelay
authorIan Abbott <abbotti@mev.co.uk>
Tue, 29 Jul 2014 11:58:14 +0000 (12:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jul 2014 23:54:03 +0000 (16:54 -0700)
commite3f59e1c5f48bf1ba07467ff83bf8d889e273c8a
treead67e40bd5b39db92f838790532afa513a6e0b05
parent9fd8fc3fd0f199a0aadda393b13541aec585175b
staging: comedi: amplc_pci230: usleep_range is preferred over udelay

Fix checkpatch issue: "CHECK: usleep_range is preferred over udelay; see
Documentation/timers/timers-howto.txt".  I picked 100 us as a reasonable
upper bound, but it's not that critical.

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