]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
PCI: Fix pcie_port_device_resume() comment
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 24 Jun 2015 21:03:23 +0000 (16:03 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 14 Jul 2015 18:41:04 +0000 (13:41 -0500)
The function comment claimed this was pcie_port_device_suspend(), but it's
really pcie_port_device_resume().  Perils of cut and paste.

Use the correct function name in the comment.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/pcie/portdrv_core.c

index 2f0ce668a775eda0ccc15ea6bbfeea133ac6c823..88122dc2e1b1375f1715f8b8ca431673cee8d3e9 100644 (file)
@@ -448,7 +448,7 @@ static int resume_iter(struct device *dev, void *data)
 }
 
 /**
- * pcie_port_device_suspend - resume port services associated with a PCIe port
+ * pcie_port_device_resume - resume port services associated with a PCIe port
  * @dev: PCI Express port to handle
  */
 int pcie_port_device_resume(struct device *dev)