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:Gil Fine <gil.fine@linux.intel.com> Signed-off-by:
Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by:
Qin Wan <qin.wan@hp.com> Signed-off-by:
Alexandru Gagniuc <alexandru.gagniuc@hp.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please sign in to comment