]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
PCI / ACPI: Fix pci_acpi_optimize_delay() comment
authorSrinidhi Kasagar <srinidhi.kasagar@intel.com>
Wed, 15 Jul 2015 09:29:46 +0000 (14:59 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 15 Jul 2015 20:11:50 +0000 (15:11 -0500)
The function takes ACPI handle, not the device itself. Fix the
comment

Signed-off-by: Srinidhi Kasagar <srinidhi.kasagar@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci-acpi.c

index 314a625b78d6360093eff3be221ffc04193b771e..a32ba753e4135862825c60690f83f1f9b145fa07 100644 (file)
@@ -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.