diff options
| author | 2015-05-05 18:47:26 +0100 | |
|---|---|---|
| committer | 2015-05-10 14:57:26 +0200 | |
| commit | 7b7afb469cfe9eb384028f86ce4ec2fb8946f772 (patch) | |
| tree | f40d744908f9302b9c45c37b18b673acdf58145b /include/linux/stacktrace.h | |
| parent | staging: comedi: gsc_hpdi: remove multiple board type support (diff) | |
staging: comedi: gsc_hpdi: usleep_range is preferred over udelay
Fix checkpatch issue: "CHECK: usleep_range is preferred over udelay; see
Documentation/timers/timers-howto.txt". `udelay()` is only called once
from a place where sleeping is allowed. Replace it with a call to
`usleep_range()` with a reasonable upper limit.
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>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
