i40e: use eth_platform_get_mac_address()
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Wed, 13 Jan 2016 03:32:31 +0000 (19:32 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Feb 2016 17:24:35 +0000 (09:24 -0800)
commitba94272d08a7e7e716f17e491dbc9068f88eb241
tree3894e577077e2306d23d6cdcc36bf9bffb975260
parent72b748698076b4609186e9554a5a890cd435b172
i40e: use eth_platform_get_mac_address()

This commit converts commit b499ffb0a22c ("i40e: Look up MAC address in
Open Firmware or IDPROM") to use eth_platform_get_mac_address()
added by commit c7f5d105495a ("net: Add eth_platform_get_mac_address()
helper.")

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c