diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2019-09-30 13:07:22 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2019-11-01 12:32:00 +0100 |
commit | b433d0100562233b21beb13c0139feeff350bc68 (patch) | |
tree | 33b53e3049b49122b716bb25981b6c118268e704 /README | |
parent | thunderbolt: Make tb_sw_write() take const parameter (diff) | |
download | linux-b433d0100562233b21beb13c0139feeff350bc68.tar.xz linux-b433d0100562233b21beb13c0139feeff350bc68.zip |
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 <mika.westerberg@linux.intel.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions