[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211007132511.3462291-1-kuba@kernel.org>
Date: Thu, 7 Oct 2021 06:25:08 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, vladimir.oltean@....com, michael@...le.cc,
andrew@...n.ch, Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net-next 0/3] net: add a helpers for loading netdev->dev_addr from platform
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
Powered by blists - more mailing lists