Subject: Re: [PATCH 1/4] lan78xx: Read MAC address from DT if present

From: Andrew Lunn <[email-masked]>
Date: Thu, 12 Apr 2018 16:06:40 +0200

Hi Phil

> -			ret = lan78xx_write_reg(dev, RX_ADDRL, addr_lo);
> -			ret = lan78xx_write_reg(dev, RX_ADDRH, addr_hi);
> +		mac_addr = of_get_mac_address(dev->udev->dev.of_node);

It might be better to use the higher level eth_platform_get_mac_address().

   Andrew