IB/hfi1: Use pci_try_reset_bus() for initiating PCI Secondary Bus Reset
authorSinan Kaya <okaya@codeaurora.org>
Thu, 19 Jul 2018 23:04:10 +0000 (18:04 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Jul 2018 23:04:23 +0000 (18:04 -0500)
commit409888e0966e2753f8e272b89806738469c47e1d
tree0449691b72badf6204f47b0cb5d19e7a1d8f94f3
parent1842623850d09b0b1147d4974573aa305658d97f
IB/hfi1: Use pci_try_reset_bus() for initiating PCI Secondary Bus Reset

Getting ready to hide pci_reset_bridge_secondary_bus() from the drivers.
pci_reset_bridge_secondary_bus() should only be used internally by the
PCI code itself.

Other drivers should rely on higher level pci_try_reset_bus() API.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/infiniband/hw/hfi1/pcie.c