thunderbolt: Generalize port finding routines to support all port types
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 12 Oct 2017 13:45:50 +0000 (16:45 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Apr 2019 08:18:53 +0000 (11:18 +0300)
commite78db6f08b6a2a50eea9ed4146f019026491d63c
tree149d4dd58b84d74859d8721cb21fe9ba939656a5
parent344e06430a72347b554a7fd98f3a961084f37be6
thunderbolt: Generalize port finding routines to support all port types

We will be needing these routines to find Display Port adapters as well
so modify them to take port type as the second parameter.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.c
drivers/thunderbolt/tb.h