diff options
| author | 2017-02-27 22:31:39 +0530 | |
|---|---|---|
| committer | 2017-03-06 09:39:54 +0100 | |
| commit | 5e38c984dbd98fa9f1998ff239775fd467beeb2c (patch) | |
| tree | 122d3ab4045c1241b39ab5b67c6ce4fd48cb4d8f /tools/perf/scripts | |
| parent | staging: vc04_services: bcm2835-camera: Simplify NULL comparisons (diff) | |
staging: dgnc: replace udelay with usleep_range
Fix checkpatch warning on dgnc_cls.c: CHECK usleep_range is preferred
over udelay. udelay(t) in function cls_uart_init is within non-atomic
context and can be safely replaced by usleep_range(t, t + delta) where
delta is t (as t is between 10 and 20 microseconds).
Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
