i40e: update led set args
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 28 Nov 2013 06:39:33 +0000 (06:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 4 Jan 2014 05:21:42 +0000 (21:21 -0800)
commit0556a9e3a2056160b90f1846a6ddab33edf0c848
tree9c5f673047d1ae1b6f35e19d03d01f92bc4c3ff5
parent12dc4fe3981e94f43088b863a7ecccf86d641953
i40e: update led set args

Add an argument to led function and refactor code to flash LED lights
correctly.

Change-Id: I00b21607ced53aaa057159503875708871946259
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_prototype.h