PCI: Rename pci_try_reset_bus() to pci_reset_bus()
authorSinan Kaya <okaya@codeaurora.org>
Thu, 19 Jul 2018 23:04:15 +0000 (18:04 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Jul 2018 23:04:23 +0000 (18:04 -0500)
commitc6a44ba950d147e15fe6dab6455a52f91d8fe625
tree58f56c334d78a8476d431ac73085931e422fd8f1
parentfe32e2fa656c29d5d25f959f8e6168ac405d9ab4
PCI: Rename pci_try_reset_bus() to pci_reset_bus()

Now that the old implementation of pci_reset_bus() is gone, replace
pci_try_reset_bus() with pci_reset_bus().

Compared to the old implementation, new code will fail immmediately with
-EAGAIN if object lock cannot be obtained.

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