diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-06-18 16:45:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-20 06:17:14 +0300 |
commit | e63062616df323cee4266ed3f964e20e00092d9a (patch) | |
tree | 88c9482f770a632bb7f3d6c609b8eb3e632fa2f6 /tools/perf/scripts/python/stackcollapse.py | |
parent | 454a78d17845882aa552dc3ab86605910da9a96d (diff) | |
download | linux-e63062616df323cee4266ed3f964e20e00092d9a.tar.xz |
net: phy: clean up PHY ID reading
Rearrange the code to read the PHY IDs, so we don't call get_phy_id()
only to immediately call get_phy_c45_ids(). Move that logic into
get_phy_device(), which results in better readability.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions