summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2019-09-30 13:07:22 +0200
committerMika Westerberg <mika.westerberg@linux.intel.com>2019-11-01 12:32:00 +0100
commitb433d0100562233b21beb13c0139feeff350bc68 (patch)
tree33b53e3049b49122b716bb25981b6c118268e704 /README
parentthunderbolt: Make tb_sw_write() take const parameter (diff)
downloadlinux-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