Re: [PATCH net-next 3/3] ethernet: use platform_get_ethdev_address()
From: Andrew Lunn <andrew@lunn.ch> Date: 2021-10-07 14:21:58
On Thu, Oct 07, 2021 at 06:25:11AM -0700, Jakub Kicinski wrote:
Use the new platform_get_ethdev_address() helper for the cases
where dev->dev_addr is passed in directly as the destination.
@@
expression dev, net;
@@
- eth_platform_get_mac_address(dev, net->dev_addr)
+ platform_get_ethdev_address(dev, net)
Signed-off-by: Jakub Kicinski <kuba@kernel.org>