diff options
| author | Andy Shevchenko <[email protected]> | 2021-11-15 13:29:02 +0200 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2021-11-15 14:01:11 -0600 |
| commit | d2c64f98c3878b25e987b6b8f5100732c6426640 (patch) | |
| tree | 3b84cde4fe930424e0a6d826384f2310bd016e54 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff) | |
PCI: Use pci_find_vsec_capability() when looking for TBT devices
Currently set_pcie_thunderbolt() open-codes pci_find_vsec_capability().
Refactor the former to use the latter. No functional change intended.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Krzysztof WilczyĆski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions