diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-03-10 22:46:46 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-12 23:38:38 +0300 |
| commit | 29ca18505d58fedf2388c303156107c4ed97197b (patch) | |
| tree | 9096aa91605c363787f18908f86485a3c1a6520a /include | |
| parent | 72374257ede14897ee3d5a709c2498f7b6a1764b (diff) | |
| download | linux-29ca18505d58fedf2388c303156107c4ed97197b.tar.xz | |
net: xgbe: use device_get_mac_addr
device_get_mac_addr is basically device_property_read_u8_array with an
is_valid_ether_addr call. Allows just checking for ret.
Remove XGBE_MAC_ADDR_PROPERTY. device_get_mac_addr supports more
properties than just "mac-address".
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Sai Krishna <saikrishnag@marvell.com>
Link: https://patch.msgid.link/20260310194647.3794-1-rosenp@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
