From: Lars-Peter Clausen Date: Thu, 31 Jan 2013 14:27:00 +0000 (+0000) Subject: staging:iio:adxrs450: Use usleep_range for the sequential transfer dealy X-Git-Tag: v3.9-rc1~127^2~117^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=619036e216ce4d34f6d51ad2cf50380a54734c18;p=pandora-kernel.git staging:iio:adxrs450: Use usleep_range for the sequential transfer dealy The adxrs450 requires a delay of at least 0.1 ms between register writes. Using msleep() for such small delays is not recommended. So use usleep_range instead. Fixes the following checkpatch warning: WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt + msleep(1); Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed