From: Ian Abbott Date: Tue, 5 May 2015 17:47:26 +0000 (+0100) Subject: staging: comedi: gsc_hpdi: usleep_range is preferred over udelay X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~650 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b7afb469cfe9eb384028f86ce4ec2fb8946f772;p=pandora-kernel.git staging: comedi: gsc_hpdi: usleep_range is preferred over udelay Fix checkpatch issue: "CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.txt". `udelay()` is only called once from a place where sleeping is allowed. Replace it with a call to `usleep_range()` with a reasonable upper limit. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed