Commit 113e0d11 authored by Srinidhi Kasagar's avatar Srinidhi Kasagar Committed by Bjorn Helgaas
Browse files

PCI / ACPI: Fix pci_acpi_optimize_delay() comment



The function takes ACPI handle, not the device itself. Fix the
comment

Signed-off-by: default avatarSrinidhi Kasagar <srinidhi.kasagar@intel.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 46fd9625
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -594,7 +594,7 @@ static struct acpi_device *acpi_pci_find_companion(struct device *dev)
/**
 * pci_acpi_optimize_delay - optimize PCI D3 and D3cold delay from ACPI
 * @pdev: the PCI device whose delay is to be updated
 * @adev: the companion ACPI device of this PCI device
 * @handle: ACPI handle of this device
 *
 * Update the d3_delay and d3cold_delay of a PCI device from the ACPI _DSM
 * control method of either the device itself or the PCI host bridge.