All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] net: add a helpers for loading netdev->dev_addr from platform
@ 2021-10-07 18:18 Jakub Kicinski
  2021-10-07 18:18 ` [PATCH net-next v2 1/3] ethernet: un-export nvmem_get_mac_address() Jakub Kicinski
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jakub Kicinski @ 2021-10-07 18:18 UTC (permalink / raw)
  To: davem; +Cc: netdev, vladimir.oltean, michael, andrew, Jakub Kicinski

Similarly to recently added device_get_ethdev_address()
and of_get_ethdev_address() create a helper for drivers
loading mac addr from platform data.

nvmem_get_mac_address() does not have driver callers
so instead of adding a helper there unexport it.

Jakub Kicinski (3):
  ethernet: un-export nvmem_get_mac_address()
  eth: platform: add a helper for loading netdev->dev_addr
  ethernet: use platform_get_ethdev_address()

 drivers/net/ethernet/actions/owl-emac.c       |  2 +-
 drivers/net/ethernet/mediatek/mtk_star_emac.c |  2 +-
 drivers/net/usb/smsc75xx.c                    |  3 +--
 drivers/net/usb/smsc95xx.c                    |  3 +--
 include/linux/etherdevice.h                   |  1 +
 net/ethernet/eth.c                            | 21 ++++++++++++++++++-
 6 files changed, 25 insertions(+), 7 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-08 14:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07 18:18 [PATCH net-next v2 0/3] net: add a helpers for loading netdev->dev_addr from platform Jakub Kicinski
2021-10-07 18:18 ` [PATCH net-next v2 1/3] ethernet: un-export nvmem_get_mac_address() Jakub Kicinski
2021-10-07 18:18 ` [PATCH net-next v2 2/3] eth: platform: add a helper for loading netdev->dev_addr Jakub Kicinski
2021-10-07 18:18 ` [PATCH net-next v2 3/3] ethernet: use platform_get_ethdev_address() Jakub Kicinski
2021-10-08 14:10 ` [PATCH net-next v2 0/3] net: add a helpers for loading netdev->dev_addr from platform patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.