diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-07-23 23:03:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-23 14:09:21 -0700 |
commit | d86afb89305de205b0d2f20c2160adf039e9508d (patch) | |
tree | fa19407c74f0e87090d99fa35db9eb15e77c8931 /drivers/net/can/dev.c | |
parent | a261e3797506bd561700be643fe1a85bf81e9661 (diff) |
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>
Diffstat (limited to 'drivers/net/can/dev.c')
0 files changed, 0 insertions, 0 deletions