Commit 18dcdadc authored by Gil Fine's avatar Gil Fine Committed by Greg Kroah-Hartman
Browse files

thunderbolt: Introduce tb_port_path_direction_downstream()



[ Upstream commit 2bfeca73 ]

Introduce tb_port_path_direction_downstream() to check if path from
source adapter to destination adapter is directed towards downstream.
Convert existing users to call this helper instead of open-coding.

No functional changes.

Signed-off-by: default avatarGil Fine <gil.fine@linux.intel.com>
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarQin Wan <qin.wan@hp.com>
Signed-off-by: default avatarAlexandru Gagniuc <alexandru.gagniuc@hp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5ac89bb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment