aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2019-07-30 08:04:00 -0500
committerBjorn Helgaas <bhelgaas@google.com>2019-08-30 14:00:12 -0500
commitd1bbf38aaf882240cccca414e5a48db42e105da7 (patch)
tree8e665b978187d83b17650ad6522722a287659ca3 /drivers/pci
parentLinus 5.3-rc1 (diff)
downloadlinux-dev-d1bbf38aaf882240cccca414e5a48db42e105da7.tar.xz
linux-dev-d1bbf38aaf882240cccca414e5a48db42e105da7.zip
PCI: Fix typos and whitespace errors
Fix typos in drivers/pci. Comment and whitespace changes only. Link: https://lore.kernel.org/r/20190819115306.27338-1-kw@linux.com Signed-off-by: Krzysztof Wilczynski <kw@linux.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> # armada8k
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/Kconfig2
-rw-r--r--drivers/pci/vc.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 2ab92409210a..46f4912a370d 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -170,7 +170,7 @@ config PCI_P2PDMA
Many PCIe root complexes do not support P2P transactions and
it's hard to tell which support it at all, so at this time,
- P2P DMA transations must be between devices behind the same root
+ P2P DMA transactions must be between devices behind the same root
port.
If unsure, say N.
diff --git a/drivers/pci/vc.c b/drivers/pci/vc.c
index 5acd9c02683a..b39e854b80ec 100644
--- a/drivers/pci/vc.c
+++ b/drivers/pci/vc.c
@@ -409,7 +409,6 @@ void pci_restore_vc_state(struct pci_dev *dev)
* For each type of VC capability, VC/VC9/MFVC, find the capability, size
* it, and allocate a buffer for save/restore.
*/
-
void pci_allocate_vc_save_buffers(struct pci_dev *dev)
{
int i;