net: thunderx: Use fwnode_get_mac_address()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Jul 2019 20:03:43 +0000 (23:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2019 21:09:21 +0000 (14:09 -0700)
commitd86afb89305de205b0d2f20c2160adf039e9508d
treefa19407c74f0e87090d99fa35db9eb15e77c8931
parenta261e3797506bd561700be643fe1a85bf81e9661
net: thunderx: Use fwnode_get_mac_address()

Replace the custom implementation with fwnode_get_mac_address,
which works on both DT and ACPI platforms.

While here, replace memcpy() by ether_addr_copy().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/thunder_bgx.c