]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Staging: iio: accel: Replace msleep with usleep for given range
authorDarshana Padmadas <darshanapadmadas@gmail.com>
Sat, 20 Sep 2014 15:14:24 +0000 (20:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Sep 2014 14:58:47 +0000 (07:58 -0700)
commit3ab7c7d48d2a62f9c0183fca05850ccba315ed8b
tree43021fbad1769c08954011a4cf29fa98d993d0e8
parent5b12d0ac20dd9084995d10e1ec5bd43b7ec90f41
Staging: iio: accel: Replace msleep with usleep for given range

This patch fixes checkpatch.pl warning:
WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt

As per Documentation/timers/timers-howto.txt usleep_range should be used
for sleeping for 10us-20ms

Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/accel/adis16220_core.c