From: Tobias Klauser <[email protected]>
Date: Wed,  7 Dec 2016 13:25:28 +0100

> 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.
> 
> Also avoid casting away the const qualifier of the return value by
> making axienet_set_mac_address() take a const void* address.
> 
> Follows commit b34296a9c047 ("net: ethoc: Utilize
> of_get_mac_address()").
> 
> Cc: Florian Fainelli <[email protected]>
> Signed-off-by: Tobias Klauser <[email protected]>

Applied.

Reply via email to