]> git.baikalelectronics.ru Git - kernel.git/commit
net: greth: Utilize of_get_mac_address()
authorTobias Klauser <tklauser@distanz.ch>
Tue, 21 Mar 2017 10:24:38 +0000 (11:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 19:00:39 +0000 (12:00 -0700)
commit75b23d82076e51e06516766bc45a0de4e881d8b7
treeaa7744082ce97f5ef2a6358735b200fde9b3d22d
parentb0a51d9c7313d7b417b1e6c4a95ac0740c878634
net: greth: Utilize of_get_mac_address()

Do not open code getting the MAC address exclusively from the
"local-mac-address" property, but instead use of_get_mac_address() which
looks up the MAC address using the 3 typical property names.

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