]> Git Repo - linux.git/commit
PCI: Unify pcie_find_root_port() and pci_find_pcie_root_port()
authorYicong Yang <[email protected]>
Sat, 9 May 2020 10:19:28 +0000 (18:19 +0800)
committerBjorn Helgaas <[email protected]>
Thu, 14 May 2020 21:35:09 +0000 (16:35 -0500)
commit6ae72bfa656ea04806f98ef85cb44b0789064362
tree3e476c1b2f8c95051f631686d1158042c4a4d4f8
parent914a1951d88968371c7d43400c9d936382cd7d69
PCI: Unify pcie_find_root_port() and pci_find_pcie_root_port()

Previously we used pcie_find_root_port() to find a Root Port from a PCIe
device and pci_find_pcie_root_port() to find a Root Port from a
Conventional PCI device.

Unify the two functions and use pcie_find_root_port() to find a Root Port
from either a Conventional PCI device or a PCIe device.  Then there is no
need to distinguish the type of the device.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Yicong Yang <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Kalle Valo <[email protected]> # wireless
Acked-by: Mika Westerberg <[email protected]> # thunderbolt
drivers/pci/pci-acpi.c
drivers/pci/pci.c
drivers/pci/probe.c
drivers/pci/quirks.c
drivers/thunderbolt/switch.c
include/linux/pci.h
This page took 0.062236 seconds and 4 git commands to generate.