OSDN Git Service

Merge branch 'dev_addr-fw-helpers'
authorDavid S. Miller <davem@davemloft.net>
Thu, 7 Oct 2021 12:39:52 +0000 (13:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Oct 2021 12:39:52 +0000 (13:39 +0100)
commit5a98dcf59abf68a7949bf1ff95765b946c1a4595
tree4f60713328ebffc2d45cff1abfb1067ed944bd84
parent944b33ca7bc58fc1c3d6c14702a59e925033a268
parent894b0fb0921529928d596c155894ecae5444712f
Merge branch 'dev_addr-fw-helpers'

Jakub Kicinski says:

====================
net: add a helpers for loading netdev->dev_addr from FW

We're trying to make all writes to netdev->dev_addr go via helpers.
A lot of places pass netdev->dev_addr to of_get_ethdev_address() and
device_get_ethdev_addr() so this set adds new functions which wrap
the functionality.

v2 performs suggested code moves, adds a couple additional clean ups
on the device property side, and an extra patch converting drivers
which can benefit from device_get_ethdev_address().

v3 removes OF_NET and corrects kdoc.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>