ixgbe: Clean up interface for firmware commands
authorMark Rustad <mark.d.rustad@intel.com>
Mon, 14 Mar 2016 18:05:57 +0000 (11:05 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Apr 2016 22:46:11 +0000 (15:46 -0700)
commit5cffde309cb3f6f7aaaa459abd3eba245a863f8a
tree5b9a5c46a31b8abb158e3e008de0b1ec79eef573
parent73457165d71d5ce0e41c0adb7bfa484702c36248
ixgbe: Clean up interface for firmware commands

Clean up the interface for issuing firmware commands to use a
void * instead of a u32 *. This eliminates a number of casts.
Also clean up ixgbe_host_interface_command in a few other ways,
eliminating comparisons with 0, redundant parens and minor
formatting issues.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
drivers/net/ethernet/intel/ixgbe/ixgbe_common.h
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c