aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/cpqphp_pci.c
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2009-03-31 11:23:11 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-06-11 15:04:07 -0400
commit861fefbf550d41e7a4f44584f3ec35977fa08bf1 (patch)
treee7fd059f852d225f5270bd5ef0a367eab06a6a8f /drivers/pci/hotplug/cpqphp_pci.c
parentd09ee9687e027fc7d2c6b95daf05a8ef3ff06340 (diff)
PCI Hotplug: cpqphp: stray whitespace cleanups
Clean up all stray whitespace issues, such as trailing whitespace, spaces before tabs, etc. and whatever else vim's c_space_errors highlights in red. Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/cpqphp_pci.c')
-rw-r--r--drivers/pci/hotplug/cpqphp_pci.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/pci/hotplug/cpqphp_pci.c b/drivers/pci/hotplug/cpqphp_pci.c
index 6c0ed0fcb8ee..573a2702fb6a 100644
--- a/drivers/pci/hotplug/cpqphp_pci.c
+++ b/drivers/pci/hotplug/cpqphp_pci.c
@@ -82,7 +82,7 @@ static void __iomem *detect_HRT_floating_pointer(void __iomem *begin, void __iom
82} 82}
83 83
84 84
85int cpqhp_configure_device (struct controller* ctrl, struct pci_func* func) 85int cpqhp_configure_device (struct controller* ctrl, struct pci_func* func)
86{ 86{
87 unsigned char bus; 87 unsigned char bus;
88 struct pci_bus *child; 88 struct pci_bus *child;
@@ -116,10 +116,10 @@ int cpqhp_configure_device (struct controller* ctrl, struct pci_func* func)
116} 116}
117 117
118 118
119int cpqhp_unconfigure_device(struct pci_func* func) 119int cpqhp_unconfigure_device(struct pci_func* func)
120{ 120{
121 int j; 121 int j;
122 122
123 dbg("%s: bus/dev/func = %x/%x/%x\n", __func__, func->bus, func->device, func->function); 123 dbg("%s: bus/dev/func = %x/%x/%x\n", __func__, func->bus, func->device, func->function);
124 124
125 for (j=0; j<8 ; j++) { 125 for (j=0; j<8 ; j++) {
@@ -195,8 +195,8 @@ int cpqhp_set_irq (u8 bus_num, u8 dev_num, u8 int_pin, u8 irq_num)
195 195
196 196
197/* 197/*
198 * WTF??? This function isn't in the code, yet a function calls it, but the 198 * WTF??? This function isn't in the code, yet a function calls it, but the
199 * compiler optimizes it away? strange. Here as a placeholder to keep the 199 * compiler optimizes it away? strange. Here as a placeholder to keep the
200 * compiler happy. 200 * compiler happy.
201 */ 201 */
202static int PCI_ScanBusNonBridge (u8 bus, u8 device) 202static int PCI_ScanBusNonBridge (u8 bus, u8 device)
@@ -398,7 +398,7 @@ int cpqhp_save_config(struct controller *ctrl, int busnumber, int is_hot_plug)
398 398
399 index = 0; 399 index = 0;
400 new_slot = cpqhp_slot_find(busnumber, device, index++); 400 new_slot = cpqhp_slot_find(busnumber, device, index++);
401 while (new_slot && 401 while (new_slot &&
402 (new_slot->function != (u8) function)) 402 (new_slot->function != (u8) function))
403 new_slot = cpqhp_slot_find(busnumber, device, index++); 403 new_slot = cpqhp_slot_find(busnumber, device, index++);
404 404
@@ -1168,7 +1168,7 @@ int cpqhp_valid_replace(struct controller *ctrl, struct pci_func * func)
1168 * this function is for hot plug ADD! 1168 * this function is for hot plug ADD!
1169 * 1169 *
1170 * returns 0 if success 1170 * returns 0 if success
1171 */ 1171 */
1172int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_start) 1172int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_start)
1173{ 1173{
1174 u8 temp; 1174 u8 temp;