diff options
author | Alexis Lothoré <alexis.lothore@bootlin.com> | 2023-05-29 10:02:41 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-30 23:54:33 -0700 |
commit | ca345931907ff1893f02f5fe1349b16c9fc27e4c (patch) | |
tree | a31e7055488745120c9fd3f48713c0156da42a36 /tools/perf/scripts/python | |
parent | 9229a9483d80ba1cc7a75a552afff3e5afdf99e0 (diff) |
net: dsa: mv88e6xxx: pass directly chip structure to mv88e6xxx_phy_is_internal
Since this function is a simple helper, we do not need to pass a full
dsa_switch structure, we can directly pass the mv88e6xxx_chip structure.
Doing so will allow to share this function with any other function
not manipulating dsa_switch structure but needing info about number of
internal phys
Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions