Skip to content

Commit 113e0d1

Browse files
srinidhikasagarbjorn-helgaas
authored andcommitted
PCI / ACPI: Fix pci_acpi_optimize_delay() comment
The function takes ACPI handle, not the device itself. Fix the comment Signed-off-by: Srinidhi Kasagar <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 46fd962 commit 113e0d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/pci-acpi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ static struct acpi_device *acpi_pci_find_companion(struct device *dev)
594594
/**
595595
* pci_acpi_optimize_delay - optimize PCI D3 and D3cold delay from ACPI
596596
* @pdev: the PCI device whose delay is to be updated
597-
* @adev: the companion ACPI device of this PCI device
597+
* @handle: ACPI handle of this device
598598
*
599599
* Update the d3_delay and d3cold_delay of a PCI device from the ACPI _DSM
600600
* control method of either the device itself or the PCI host bridge.

0 commit comments

Comments
 (0)