From: Srinidhi Kasagar Date: Wed, 15 Jul 2015 09:29:46 +0000 (+0530) Subject: PCI / ACPI: Fix pci_acpi_optimize_delay() comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=113e0d118a93c964feea376de8c94dd8c7c63ff8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Bjorn Helgaas --- diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index 314a625b78d6..a32ba753e413 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c @@ -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.