diff options
| author | Aishwarya Pant <aishpant@gmail.com> | 2017-02-27 20:01:39 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 11:39:54 +0300 |
| commit | 5e38c984dbd98fa9f1998ff239775fd467beeb2c (patch) | |
| tree | 122d3ab4045c1241b39ab5b67c6ce4fd48cb4d8f /include | |
| parent | 4bc58d16753b99e45d84388d7e63b93d7f913a98 (diff) | |
| download | linux-5e38c984dbd98fa9f1998ff239775fd467beeb2c.tar.xz | |
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 'include')
0 files changed, 0 insertions, 0 deletions
