igbvf: cleanup msleep() and min/max() usage
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 21 Feb 2015 04:55:56 +0000 (20:55 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 24 Feb 2015 01:11:54 +0000 (17:11 -0800)
commit5beef769ec839f7f7e9679648de471be99677537
tree97986fe042847ebdfa3997c160b4d4c271ce5a3b
parent0340501b1cf7dc67bc53dcbe26d3c7d678157606
igbvf: cleanup msleep() and min/max() usage

Fixed a few cases of when we used msleep() when we should have been
using usleep_range().  Also updated the usage of min/max() to use
min_t/max_t().

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
drivers/net/ethernet/intel/igbvf/ethtool.c
drivers/net/ethernet/intel/igbvf/netdev.c