Re: [PATCH v2 net-next 3/3] net: fec: add fec_set_hw_mac_addr() helper function
From: Andrew Lunn
Date: Sat Jul 12 2025 - 12:32:36 EST
On Fri, Jul 11, 2025 at 05:16:39PM +0800, Wei Fang wrote:
> In the current driver, the MAC address is set in both fec_restart() and
> fec_set_mac_address(), so a generic helper function fec_set_hw_mac_addr()
> is added to set the hardware MAC address to make the code more compact.
>
> Signed-off-by: Wei Fang <wei.fang@xxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew