From: Neerav Parikh Date: Sat, 13 Sep 2014 07:40:44 +0000 (+0000) Subject: i40e/i40evf: Use usleep_range() instead of udelay() X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~348^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f98a20068dfcc16d1292d3e4d0d690e123da1538;p=pandora-kernel.git i40e/i40evf: Use usleep_range() instead of udelay() As per the Documentation/timers/timers-howto.txt it is preferred to use usleep_range() instead of udelay() if the delay value is > 10us in non-atomic contexts. So, replacing all the instances of udelay() with 10 or greater than 10 micro seconds delay in the driver and using usleep_range() instead. Change-ID: Iaa2ab499a4c26f6005e5d86cc421407ef9de16c7 Reported-by: Fengguang Wu Signed-off-by: Neerav Parikh Tested-by: Jim Young Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed