]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: use ether_addr_copy
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 29 Oct 2020 02:27:35 +0000 (04:27 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 31 Oct 2020 01:25:56 +0000 (18:25 -0700)
commit0a574e42fac7597e3392ee64b2fe9304c55910e8
tree7a085b6d059c41249a2be938ba936a38c621ebca
parent5d591b95fbb01fd1590c70d50e591824a3419d31
net: mscc: ocelot: use ether_addr_copy

Since a helper is available for copying Ethernet addresses, let's use it.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mscc/ocelot.c