diff options
| author | 2021-10-26 10:50:38 -0700 | |
|---|---|---|
| committer | 2021-10-27 17:13:12 -0700 | |
| commit | 8b6ce9b0267259c16b26756661d7aea2b8e02828 (patch) | |
| tree | 79178c8601b37413c91061645e204c2ed541cd72 /tools/perf/scripts/python | |
| parent | net: macb: Fix mdio child node detection (diff) | |
| download | linux-dev-8b6ce9b0267259c16b26756661d7aea2b8e02828.tar.xz linux-dev-8b6ce9b0267259c16b26756661d7aea2b8e02828.zip | |
staging: use of_get_ethdev_address()
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)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20211026175038.3197397-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
