summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-11-15 13:29:02 +0200
committerBjorn Helgaas <bhelgaas@google.com>2021-11-15 14:01:11 -0600
commitd2c64f98c3878b25e987b6b8f5100732c6426640 (patch)
tree3b84cde4fe930424e0a6d826384f2310bd016e54 /include/linux/pci.h
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff)
downloadlinux-stable-d2c64f98c3878b25e987b6b8f5100732c6426640.tar.gz
linux-stable-d2c64f98c3878b25e987b6b8f5100732c6426640.tar.bz2
linux-stable-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 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions