WSL2-Linux-Kernel/drivers/net/ethernet/cadence
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 ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile
macb.h net: macb: Disable PCS auto-negotiation for SGMII fixed-link mode 2021-03-12 16:44:45 -08:00
macb_main.c ethernet: use of_get_ethdev_address() 2023-07-27 08:47:00 +02:00
macb_pci.c net: macb: fix use after free on rmmod 2021-09-09 10:55:44 +01:00
macb_ptp.c net: macb: Fix PTP one step sync support 2022-06-09 10:23:01 +02:00