summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-06-24 23:03:23 +0200
committerBjorn Helgaas <bhelgaas@google.com>2015-07-14 20:41:04 +0200
commite7f6c6d02cc3fa7f78153919900561bd1dce02a3 (patch)
tree3b0bfb811d06dd3f5005b5f86c5ba750026dad50 /drivers/pci
parentPCI: Shift PCI_CLASS_NOT_DEFINED consistently with other classes (diff)
downloadlinux-e7f6c6d02cc3fa7f78153919900561bd1dce02a3.tar.xz
linux-e7f6c6d02cc3fa7f78153919900561bd1dce02a3.zip
PCI: Fix pcie_port_device_resume() comment
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pcie/portdrv_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c
index 2f0ce668a775..88122dc2e1b1 100644
--- a/drivers/pci/pcie/portdrv_core.c
+++ b/drivers/pci/pcie/portdrv_core.c
@@ -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)