net: macb: Use ether_addr_copy over memcpy
authorMoritz Fischer <moritz.fischer@ettus.com>
Wed, 30 Mar 2016 02:11:14 +0000 (19:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
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 <michal.simek@xilinx.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c