diff options
author | 2021-11-15 13:29:02 +0200 | |
---|---|---|
committer | 2021-11-15 14:01:11 -0600 | |
commit | d2c64f98c3878b25e987b6b8f5100732c6426640 (patch) | |
tree | 3b84cde4fe930424e0a6d826384f2310bd016e54 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.16-rc1 (diff) | |
download | wireguard-linux-d2c64f98c3878b25e987b6b8f5100732c6426640.tar.xz wireguard-linux-d2c64f98c3878b25e987b6b8f5100732c6426640.zip |
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/20211115112902.24033-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof WilczyĆski <kw@linux.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions