diff options
| author | Navya Sri Nizamkari <navyasri.tech@gmail.com> | 2015-10-22 20:21:22 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-24 19:11:30 -0700 |
| commit | d8acac9421fedb008f2ef04763c3912d138ac936 (patch) | |
| tree | dfd0ecc92574f2f2ae299611c607037334b0b004 /tools/perf/scripts/python/bin | |
| parent | 6fd9a2a19c241ce22f05cdc82b8eefb7f8a3e92f (diff) | |
Staging: xgifb: Replace udelay, mdelay functions with usleep_range
This patch fixes the checkpatch.pl check:
CHECK: usleep_range is preferred over udelay.
Replace mdelay with usleep_range function too.
Add 1 millisecond to the delay time to get a
reasonable upper limit which saves one wakeup call.
Do same throughout the file.
Signed-off-by: Navya Sri Nizamkari <navyasri.tech@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
