Skip to content

Commit

Permalink
PCI: Fix pcie_port_device_resume() comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjorn Helgaas committed Jul 14, 2015
1 parent 2b4aed1 commit e7f6c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/pcie/portdrv_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e7f6c6d

Please sign in to comment.