summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2017-03-27 17:46:14 -0700
committerBjorn Helgaas <bhelgaas@google.com>2017-04-04 12:02:57 -0500
commit0b131b139467db844874f31b46bb638b541d9d3f (patch)
tree62dd6ad1dd01bfa78e974343a77770a06cf4b3c6 /drivers/pci
parent41334f54a43ab00cbb294e6a08d0f57068f43025 (diff)
downloadtalos-obmc-linux-0b131b139467db844874f31b46bb638b541d9d3f.tar.gz
talos-obmc-linux-0b131b139467db844874f31b46bb638b541d9d3f.zip
PCI: Fix typo pci_cfg_access_lock() comment
There is no pci_cfg_access_unlocked(). I think the author meant pci_cfg_access_unlock(). Signed-off-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/access.c b/drivers/pci/access.c
index 8b7382705bf2..5b7842b03571 100644
--- a/drivers/pci/access.c
+++ b/drivers/pci/access.c
@@ -629,7 +629,7 @@ void pci_vpd_release(struct pci_dev *dev)
*
* When access is locked, any userspace reads or writes to config
* space and concurrent lock requests will sleep until access is
- * allowed via pci_cfg_access_unlocked again.
+ * allowed via pci_cfg_access_unlock() again.
*/
void pci_cfg_access_lock(struct pci_dev *dev)
{
OpenPOWER on IntegriCloud