WSL2-Linux-Kernel/drivers/net/ethernet/nxp
Jakub Kicinski 39479093a4 ethernet: use of_get_ethdev_address()
[ Upstream commit 9ca01b25df ]

Use the new of_get_ethdev_address() helper for the cases
where dev->dev_addr is passed in directly as the destination.

  @@
  expression dev, np;
  @@
  - of_get_mac_address(np, dev->dev_addr)
  + of_get_ethdev_address(np, dev)

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 1d6d537dc5 ("net: ethernet: mtk_eth_soc: handle probe deferral")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-27 08:47:00 +02:00
..
Kconfig
Makefile
lpc_eth.c ethernet: use of_get_ethdev_address() 2023-07-27 08:47:00 +02:00