net: macb: Use ether_addr_copy over memcpy
authorMoritz Fischer <[email protected]>
Wed, 30 Mar 2016 02:11:14 +0000 (19:11 -0700)
committerDavid S. Miller <[email protected]>
Mon, 4 Apr 2016 20:16:36 +0000 (16:16 -0400)
commiteefb52d1ec8eb1354ff1bf55811a0da74bffccb8
tree5efbd8ba81198bb55430a7cc4df7635b442b12f0
parentaa50b55262d459f69c7b32eb7ce38cde84cc089b
net: macb: Use ether_addr_copy over memcpy

Checkpatch suggests using ether_addr_copy over memcpy
to copy the mac address.

Acked-by: Michal Simek <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: Moritz Fischer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/cadence/macb.c