aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-11-14 13:28:18 -0500
committerBjorn Helgaas <bhelgaas@google.com>2013-11-14 13:28:18 -0500
commitf7625980f5820edd1a73536e1a03bcbc1f889fec (patch)
tree145e76f39b3e1d08d3e7a48a0993c0cd59088cc6 /drivers/pci/pcie
parent4fbf888accb39af423f271111d44e8186f053723 (diff)
PCI: Fix whitespace, capitalization, and spelling errors
Fix whitespace, capitalization, and spelling errors. No functional change. I know "busses" is not an error, but "buses" was more common, so I used it consistently. Signed-off-by: Marta Rybczynska <rybczynska@gmail.com> (pci_reset_bridge_secondary_bus()) Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/pci/pcie')
-rw-r--r--drivers/pci/pcie/aer/aerdrv_core.c2
-rw-r--r--drivers/pci/pcie/aspm.c2
-rw-r--r--drivers/pci/pcie/pme.c4
-rw-r--r--drivers/pci/pcie/portdrv.h2
-rw-r--r--drivers/pci/pcie/portdrv_bus.c4
-rw-r--r--drivers/pci/pcie/portdrv_core.c2
-rw-r--r--drivers/pci/pcie/portdrv_pci.c6
7 files changed, 11 insertions, 11 deletions
diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c
index 85ca36f2136d..688e48e51073 100644
--- a/drivers/pci/pcie/aer/aerdrv_core.c
+++ b/drivers/pci/pcie/aer/aerdrv_core.c
@@ -525,7 +525,7 @@ static void handle_error_source(struct pcie_device *aerdev,
525 525
526 if (info->severity == AER_CORRECTABLE) { 526 if (info->severity == AER_CORRECTABLE) {
527 /* 527 /*
528 * Correctable error does not need software intevention. 528 * Correctable error does not need software intervention.
529 * No need to go through error recovery process. 529 * No need to go through error recovery process.
530 */ 530 */
531 pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR); 531 pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR);
diff --git a/drivers/pci/pcie/aspm.c b/drivers/pci/pcie/aspm.c
index 403a44374ed5..f1272dc54de1 100644
--- a/drivers/pci/pcie/aspm.c
+++ b/drivers/pci/pcie/aspm.c
@@ -548,7 +548,7 @@ static struct pcie_link_state *alloc_pcie_link_state(struct pci_dev *pdev)
548 548
549/* 549/*
550 * pcie_aspm_init_link_state: Initiate PCI express link state. 550 * pcie_aspm_init_link_state: Initiate PCI express link state.
551 * It is called after the pcie and its children devices are scaned. 551 * It is called after the pcie and its children devices are scanned.
552 * @pdev: the root port or switch downstream port 552 * @pdev: the root port or switch downstream port
553 */ 553 */
554void pcie_aspm_init_link_state(struct pci_dev *pdev) 554void pcie_aspm_init_link_state(struct pci_dev *pdev)
diff --git a/drivers/pci/pcie/pme.c b/drivers/pci/pcie/pme.c
index e56e594ce112..bbc3bdd2b189 100644
--- a/drivers/pci/pcie/pme.c
+++ b/drivers/pci/pcie/pme.c
@@ -419,8 +419,8 @@ static void pcie_pme_remove(struct pcie_device *srv)
419 419
420static struct pcie_port_service_driver pcie_pme_driver = { 420static struct pcie_port_service_driver pcie_pme_driver = {
421 .name = "pcie_pme", 421 .name = "pcie_pme",
422 .port_type = PCI_EXP_TYPE_ROOT_PORT, 422 .port_type = PCI_EXP_TYPE_ROOT_PORT,
423 .service = PCIE_PORT_SERVICE_PME, 423 .service = PCIE_PORT_SERVICE_PME,
424 424
425 .probe = pcie_pme_probe, 425 .probe = pcie_pme_probe,
426 .suspend = pcie_pme_suspend, 426 .suspend = pcie_pme_suspend,
diff --git a/drivers/pci/pcie/portdrv.h b/drivers/pci/pcie/portdrv.h
index d2eb80aab569..d525548404d6 100644
--- a/drivers/pci/pcie/portdrv.h
+++ b/drivers/pci/pcie/portdrv.h
@@ -14,7 +14,7 @@
14#define PCIE_PORT_DEVICE_MAXSERVICES 4 14#define PCIE_PORT_DEVICE_MAXSERVICES 4
15/* 15/*
16 * According to the PCI Express Base Specification 2.0, the indices of 16 * According to the PCI Express Base Specification 2.0, the indices of
17 * the MSI-X table entires used by port services must not exceed 31 17 * the MSI-X table entries used by port services must not exceed 31
18 */ 18 */
19#define PCIE_PORT_MAX_MSIX_ENTRIES 32 19#define PCIE_PORT_MAX_MSIX_ENTRIES 32
20 20
diff --git a/drivers/pci/pcie/portdrv_bus.c b/drivers/pci/pcie/portdrv_bus.c
index 67be55a7f260..87e79a6ffb5a 100644
--- a/drivers/pci/pcie/portdrv_bus.c
+++ b/drivers/pci/pcie/portdrv_bus.c
@@ -18,8 +18,8 @@
18static int pcie_port_bus_match(struct device *dev, struct device_driver *drv); 18static int pcie_port_bus_match(struct device *dev, struct device_driver *drv);
19 19
20struct bus_type pcie_port_bus_type = { 20struct bus_type pcie_port_bus_type = {
21 .name = "pci_express", 21 .name = "pci_express",
22 .match = pcie_port_bus_match, 22 .match = pcie_port_bus_match,
23}; 23};
24EXPORT_SYMBOL_GPL(pcie_port_bus_type); 24EXPORT_SYMBOL_GPL(pcie_port_bus_type);
25 25
diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c
index 08d131f7815b..0b6e76604068 100644
--- a/drivers/pci/pcie/portdrv_core.c
+++ b/drivers/pci/pcie/portdrv_core.c
@@ -46,7 +46,7 @@ static void release_pcie_device(struct device *dev)
46 * pcie_port_msix_add_entry - add entry to given array of MSI-X entries 46 * pcie_port_msix_add_entry - add entry to given array of MSI-X entries
47 * @entries: Array of MSI-X entries 47 * @entries: Array of MSI-X entries
48 * @new_entry: Index of the entry to add to the array 48 * @new_entry: Index of the entry to add to the array
49 * @nr_entries: Number of entries aleady in the array 49 * @nr_entries: Number of entries already in the array
50 * 50 *
51 * Return value: Position of the added entry in the array 51 * Return value: Position of the added entry in the array
52 */ 52 */
diff --git a/drivers/pci/pcie/portdrv_pci.c b/drivers/pci/pcie/portdrv_pci.c
index 696caed5fdf5..cd1e57e51aa7 100644
--- a/drivers/pci/pcie/portdrv_pci.c
+++ b/drivers/pci/pcie/portdrv_pci.c
@@ -390,9 +390,9 @@ static struct pci_driver pcie_portdriver = {
390 .probe = pcie_portdrv_probe, 390 .probe = pcie_portdrv_probe,
391 .remove = pcie_portdrv_remove, 391 .remove = pcie_portdrv_remove,
392 392
393 .err_handler = &pcie_portdrv_err_handler, 393 .err_handler = &pcie_portdrv_err_handler,
394 394
395 .driver.pm = PCIE_PORTDRV_PM_OPS, 395 .driver.pm = PCIE_PORTDRV_PM_OPS,
396}; 396};
397 397
398static int __init dmi_pcie_pme_disable_msi(const struct dmi_system_id *d) 398static int __init dmi_pcie_pme_disable_msi(const struct dmi_system_id *d)
@@ -412,7 +412,7 @@ static struct dmi_system_id __initdata pcie_portdrv_dmi_table[] = {
412 .ident = "MSI Wind U-100", 412 .ident = "MSI Wind U-100",
413 .matches = { 413 .matches = {
414 DMI_MATCH(DMI_SYS_VENDOR, 414 DMI_MATCH(DMI_SYS_VENDOR,
415 "MICRO-STAR INTERNATIONAL CO., LTD"), 415 "MICRO-STAR INTERNATIONAL CO., LTD"),
416 DMI_MATCH(DMI_PRODUCT_NAME, "U-100"), 416 DMI_MATCH(DMI_PRODUCT_NAME, "U-100"),
417 }, 417 },
418 }, 418 },