summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-04-17 17:17:23 +0200
committerDavid S. Miller <davem@davemloft.net>2023-04-19 12:59:15 +0100
commit3e8b4d6277fd19d98c817576954dd6a4ff3caa2b (patch)
tree5f0dd62f573f0eb524e1cd6592ecae0fa2d9e9d4 /tools/perf/scripts/python
parent158441884772a19e840429e210bfd1879094306b (diff)
net: dsa: qca8k: move qca8k_port_to_phy() to header
Move qca8k_port_to_phy() to qca8k header as it's useful for future reference in Switch LEDs module since the same logic is applied to get the right index of the switch port. Make it inline as it's simple function that just decrease the port. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Michal Kubiak <michal.kubiak@intel.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions