]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
e1000e: cleanup USLEEP_RANGE checkpatch checks
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 20 Feb 2013 04:06:32 +0000 (04:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 8 Mar 2013 09:28:59 +0000 (01:28 -0800)
commitce43a2168c59bc47b5f0c1825fd5f9a2a9e3b447
tree501f8b36299ec83afd9966eb4dd051383fb8035a
parente5fe2541b5e67c2f5b37c58f0148956b1014c2a7
e1000e: cleanup USLEEP_RANGE checkpatch checks

Resolve strict checkpatch USLEEP_RANGE checks by converting delays and
sleeps as described in ./Documentation/timers/timers-howto.txt.  Three
other violations of the text have also been fixed.

CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see
Documentation/timers/timers-howto.txt

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/80003es2lan.c
drivers/net/ethernet/intel/e1000e/82571.c
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/ethtool.c
drivers/net/ethernet/intel/e1000e/ich8lan.c
drivers/net/ethernet/intel/e1000e/mac.c
drivers/net/ethernet/intel/e1000e/nvm.c
drivers/net/ethernet/intel/e1000e/phy.c