e1000e: use msleep instead of mdelay
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 23 Feb 2012 03:31:29 +0000 (03:31 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 1 Mar 2012 07:14:19 +0000 (23:14 -0800)
commitbb9c5ee15b560f944a8877f60e7d3d77ad542286
tree414121e922e1f6d534bd7b4b4bc72f68bc798975
parent3d3a1676561cfb0dcef0cf5e146ddefbb16f5598
e1000e: use msleep instead of mdelay

The e1000_link_stall_workaround_lv() function is always called in non-
atomic context so it should use msleep instead of mdelay.  Also, remove
unnecessary #include <linux/delay.h>.

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/phy.c