diff options
author | Gil Fine <gil.fine@intel.com> | 2022-09-23 00:30:38 +0200 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2023-06-09 11:07:22 +0200 |
commit | 7ce542219b6323764cb922722b677005404d9b60 (patch) | |
tree | 13d0ddb08544c5a34a01cc0ba874756529938a5f /drivers/thermal/dove_thermal.c | |
parent | Merge branch 'thunderbolt/fixes' into thunderbolt/next (diff) | |
download | linux-7ce542219b6323764cb922722b677005404d9b60.tar.xz linux-7ce542219b6323764cb922722b677005404d9b60.zip |
thunderbolt: Introduce tb_switch_downstream_port()
Introduce tb_switch_downstream_port() helper function that returns the
downstream port of a parent switch that is connected to the upstream
port of specified switch. From now on, we use it all across the driver
where applicable.
While there fix a whitespace in comment and rename 'downstream' to
'down' to be consistent with the rest of the driver.
Signed-off-by: Gil Fine <gil.fine@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thermal/dove_thermal.c')
0 files changed, 0 insertions, 0 deletions