diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-09-18 04:07:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-18 13:52:34 -0700 |
commit | 7c411799e1b3e0efa3a50e44e98cce6a771441c6 (patch) | |
tree | be5d9574c353efb417ab9488d687d0a996b38843 /tools/perf/scripts/python/stackcollapse.py | |
parent | d1cc0e932039cc40357baf037ab403d1d2e228fd (diff) |
net: mscc: ocelot: refactor ports parsing code into a dedicated function
mscc_ocelot_probe() is already pretty large and hard to follow. So move
the code for parsing ports in a separate function.
This makes it easier for the next patch to just call
mscc_ocelot_release_ports from the error path of mscc_ocelot_init_ports.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
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