PCI/PM: Drop pci_bridge_wait_for_secondary_bus() timeout parameter
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 4 Apr 2023 20:32:55 +0000 (15:32 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Apr 2023 22:35:06 +0000 (17:35 -0500)
commite74b2b58ff715ca17bb49c3ad89f665a7150e14b
tree29be645c6f56e6cdf9a9bbb8a9f97ea1a178f392
parente8b908146d44310473e43b3382eca126e12d279c
PCI/PM: Drop pci_bridge_wait_for_secondary_bus() timeout parameter

All callers of pci_bridge_wait_for_secondary_bus() supply a timeout of
PCIE_RESET_READY_POLL_MS, so drop the parameter.  Move the definition of
PCIE_RESET_READY_POLL_MS into pci.c, the only user.

[bhelgaas: extracted from
https://lore.kernel.org/r/20230404052714.51315-3-mika.westerberg@linux.intel.com]
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-driver.c
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/pcie/dpc.c