diff options
author | 2024-10-22 16:42:14 +0800 | |
---|---|---|
committer | 2024-10-29 15:41:16 -0700 | |
commit | 4dbc8d6d05b7d977cf7997d3fcd6cfd74ba9b4de (patch) | |
tree | 544b8f339e7b64524bbc71feeab1cc3197010f06 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'net-phylink-simplify-sfp-phy-attachment' (diff) | |
download | wireguard-linux-4dbc8d6d05b7d977cf7997d3fcd6cfd74ba9b4de.tar.xz wireguard-linux-4dbc8d6d05b7d977cf7997d3fcd6cfd74ba9b4de.zip |
net: ftgmac100: refactor getting phy device handle
Consolidate the handling of dedicated PHY and fixed-link phy by taking
advantage of logic in of_phy_get_and_connect() which handles both of
these cases, rather than open coding the same logic in ftgmac100_probe().
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20241022084214.1261174-1-jacky_chou@aspeedtech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions