aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/search.c
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/search.c
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/search.c')
-rw-r--r--drivers/pci/search.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/pci/search.c b/drivers/pci/search.c
index d0627fa9f368..3ff2ac7c14e2 100644
--- a/drivers/pci/search.c
+++ b/drivers/pci/search.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * PCI searching functions. 2 * PCI searching functions.
3 * 3 *
4 * Copyright (C) 1993 -- 1997 Drew Eckhardt, Frederic Potter, 4 * Copyright (C) 1993 -- 1997 Drew Eckhardt, Frederic Potter,
5 * David Mosberger-Tang 5 * David Mosberger-Tang
@@ -96,12 +96,12 @@ struct pci_bus * pci_find_bus(int domain, int busnr)
96 * pci_find_next_bus - begin or continue searching for a PCI bus 96 * pci_find_next_bus - begin or continue searching for a PCI bus
97 * @from: Previous PCI bus found, or %NULL for new search. 97 * @from: Previous PCI bus found, or %NULL for new search.
98 * 98 *
99 * Iterates through the list of known PCI busses. A new search is 99 * Iterates through the list of known PCI buses. A new search is
100 * initiated by passing %NULL as the @from argument. Otherwise if 100 * initiated by passing %NULL as the @from argument. Otherwise if
101 * @from is not %NULL, searches continue from next device on the 101 * @from is not %NULL, searches continue from next device on the
102 * global list. 102 * global list.
103 */ 103 */
104struct pci_bus * 104struct pci_bus *
105pci_find_next_bus(const struct pci_bus *from) 105pci_find_next_bus(const struct pci_bus *from)
106{ 106{
107 struct list_head *n; 107 struct list_head *n;
@@ -119,11 +119,11 @@ pci_find_next_bus(const struct pci_bus *from)
119/** 119/**
120 * pci_get_slot - locate PCI device for a given PCI slot 120 * pci_get_slot - locate PCI device for a given PCI slot
121 * @bus: PCI bus on which desired PCI device resides 121 * @bus: PCI bus on which desired PCI device resides
122 * @devfn: encodes number of PCI slot in which the desired PCI 122 * @devfn: encodes number of PCI slot in which the desired PCI
123 * device resides and the logical device number within that slot 123 * device resides and the logical device number within that slot
124 * in case of multi-function devices. 124 * in case of multi-function devices.
125 * 125 *
126 * Given a PCI bus and slot/function number, the desired PCI device 126 * Given a PCI bus and slot/function number, the desired PCI device
127 * is located in the list of PCI devices. 127 * is located in the list of PCI devices.
128 * If the device is found, its reference count is increased and this 128 * If the device is found, its reference count is increased and this
129 * function returns a pointer to its data structure. The caller must 129 * function returns a pointer to its data structure. The caller must