diff options
| author | Mika Westerberg <[email protected]> | 2019-09-30 14:07:22 +0300 |
|---|---|---|
| committer | Mika Westerberg <[email protected]> | 2019-11-01 14:32:00 +0300 |
| commit | b433d0100562233b21beb13c0139feeff350bc68 (patch) | |
| tree | 33b53e3049b49122b716bb25981b6c118268e704 /tools/perf/scripts/python | |
| parent | 826c6a1773084c737abf09dccc591f9a59b8b812 (diff) | |
thunderbolt: Add helper macro to iterate over switch ports
There are quite many places in the driver where we iterate over each
port in the switch. To make it bit more convenient, add a macro that can
be used to iterate over each port and convert existing call sites to use it.
This is based on code by Lukas Wunner.
No functional changes.
Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions