diff options
| author | Aishwarya Pant <[email protected]> | 2017-02-27 22:31:39 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-06 09:39:54 +0100 |
| commit | 5e38c984dbd98fa9f1998ff239775fd467beeb2c (patch) | |
| tree | 122d3ab4045c1241b39ab5b67c6ce4fd48cb4d8f /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 4bc58d16753b99e45d84388d7e63b93d7f913a98 (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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions