Skip to content

Commit

Permalink
PCI / ACPI: Fix pci_acpi_optimize_delay() comment
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
srinidhikasagar authored and bjorn-helgaas committed Jul 15, 2015
1 parent 46fd962 commit 113e0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/pci-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 113e0d1

Please sign in to comment.