Skip to content
Commit d86afb89 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by David S. Miller
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a261e379
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment