PCI: Remove pci_get_bus_and_slot() function
authorSinan Kaya <okaya@codeaurora.org>
Tue, 19 Dec 2017 05:38:02 +0000 (00:38 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Fri, 16 Feb 2018 14:51:21 +0000 (08:51 -0600)
commit5cf0c37a71da0f3a4802806c597b21d99c33ca60
tree35872d7225ac39d9c7e4166e97466e5a0900d1e2
parent57b29646bb4804732d654d85ca574ced263d7bc2
PCI: Remove pci_get_bus_and_slot() function

pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as
where a PCI device is present. This restricts the device drivers to be
reused for other domain numbers.

Now that all users of pci_get_bus_and_slot() switched to
pci_get_domain_bus_and_slot(), it is now safe to remove this function.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
include/linux/pci.h