diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2015-10-10 17:54:09 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-12 20:43:20 -0700 |
commit | 942eaa867f321380129d8519e5279a67e8f4c04e (patch) | |
tree | 6979087475418a3d00dbaf107b4572798408008f /drivers/staging/rtl8712/rtl871x_ioctl_linux.c | |
parent | b33fc7229154341c466cbc5c5b7ca69d16054771 (diff) | |
download | op-kernel-dev-942eaa867f321380129d8519e5279a67e8f4c04e.zip op-kernel-dev-942eaa867f321380129d8519e5279a67e8f4c04e.tar.gz |
staging: rtl8712: usleep_range is preferred over udelay
Fix checkpatch.pl issue: "CHECK: usleep_range is preferred over
udelay;
see Documentation/timers/timers-howto.txt".
Replace `udelay()` with a call to `usleep_range()` with a reasonable
upper limit determined by the other sleeping functions present.
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_ioctl_linux.c')
0 files changed, 0 insertions, 0 deletions