ixgbevf: Use static inlines instead of macros
authorMark Rustad <mark.d.rustad@intel.com>
Tue, 4 Mar 2014 03:02:23 +0000 (03:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 21 Mar 2014 08:59:48 +0000 (01:59 -0700)
commit06380db6fc08713682bf210c0ee3ef19b457bc14
tree8b02e91cff58c3ee2ec47a0fac80f56b7eebdd63
parent19458bd425c0ee21bb35958c60d3682f9c42f274
ixgbevf: Use static inlines instead of macros

Kernel coding standard prefers static inline functions instead
of macros, so use them for register accessors. This is to prepare
for adding LER, Live Error Recovery, checks to those accessors.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/regs.h
drivers/net/ethernet/intel/ixgbevf/vf.h