net: mediatek: Use eth_hw_addr_random()
authorTobias Klauser <tklauser@distanz.ch>
Tue, 7 Mar 2017 15:27:10 +0000 (16:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 21:16:34 +0000 (13:16 -0800)
commite3c36e483b4806a6bf28db411f79ea9aad61ec78
treeed6f4adaf04fd76c4f5eca4daed709053938f1a7
parent038e893d78037b5876771f84722b459b3916bfaf
net: mediatek: Use eth_hw_addr_random()

Use eth_hw_addr_random() to set a random dev_addr and update
addr_assign_type instead of open-coding it.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c