PCI/PM: Drop pci_bridge_wait_for_secondary_bus() timeout parameter
[ Upstream commit e74b2b58 ] 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> Stable-dep-of: 3e40aa29 ("PCI: Wait for Link before restoring Downstream Buses") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment