igb: Refix sparse warning in igb_get_i2c_client
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Thu, 14 Feb 2013 03:28:19 +0000 (03:28 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 15 Feb 2013 09:21:09 +0000 (01:21 -0800)
commit2c7d7724bc5b12a8bc038880d2dfe8ea496c618d
tree421890398f6e062cbcf9331f9aa4e65074a743eb
parent199f6ccac11e93761ee24e35c621992c078fe76f
igb: Refix sparse warning in igb_get_i2c_client

This patch correctly resolves the sparse warnings found with this
function.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@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/igb/igb_main.c