commit | b34296a9c047504e2020fb4ce2f66f57bd5454a8 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Sun Dec 04 12:40:29 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 05 15:30:03 2016 -0500 |
tree | 2222d5f1d6162367723975da0b8b0ff9cafe1bf9 | |
parent | abf7e53e9e6bbd2aa23a6d46bd74cb5dc1b7f564 [diff] |
net: ethoc: 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: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>