diff options
author | Andrey Borzenkov <arvidjaar@mail.ru> | 2009-01-25 15:08:43 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-09 15:03:32 -0500 |
commit | d14c7c1d6aef1175625ea72938b07cee072723dc (patch) | |
tree | 95022428783c802a21fcbe27d216e4c4d869b62f /drivers/net/wireless/orinoco/orinoco_pci.h | |
parent | aa6320d336971171df1d13c1c284facf10804881 (diff) |
orinoco: checkpatch cleanup
Fix errors and obvious warnings reported by checkpatch in all files
except orinoco.c. Orinoco.c is part of different patch series of Dave.
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco/orinoco_pci.h')
-rw-r--r-- | drivers/net/wireless/orinoco/orinoco_pci.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco_pci.h b/drivers/net/wireless/orinoco/orinoco_pci.h index f4e5e06760c1..88df3ee98078 100644 --- a/drivers/net/wireless/orinoco/orinoco_pci.h +++ b/drivers/net/wireless/orinoco/orinoco_pci.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* orinoco_pci.h | 1 | /* orinoco_pci.h |
2 | * | 2 | * |
3 | * Common code for all Orinoco drivers for PCI devices, including | 3 | * Common code for all Orinoco drivers for PCI devices, including |
4 | * both native PCI and PCMCIA-to-PCI bridges. | 4 | * both native PCI and PCMCIA-to-PCI bridges. |
5 | * | 5 | * |
@@ -37,11 +37,11 @@ static int orinoco_pci_suspend(struct pci_dev *pdev, pm_message_t state) | |||
37 | if (err) | 37 | if (err) |
38 | printk(KERN_WARNING "%s: error %d bringing interface down " | 38 | printk(KERN_WARNING "%s: error %d bringing interface down " |
39 | "for suspend\n", dev->name, err); | 39 | "for suspend\n", dev->name, err); |
40 | 40 | ||
41 | netif_device_detach(dev); | 41 | netif_device_detach(dev); |
42 | 42 | ||
43 | priv->hw_unavailable++; | 43 | priv->hw_unavailable++; |
44 | 44 | ||
45 | orinoco_unlock(priv, &flags); | 45 | orinoco_unlock(priv, &flags); |
46 | 46 | ||
47 | free_irq(pdev->irq, dev); | 47 | free_irq(pdev->irq, dev); |
@@ -90,13 +90,13 @@ static int orinoco_pci_resume(struct pci_dev *pdev) | |||
90 | 90 | ||
91 | priv->hw_unavailable--; | 91 | priv->hw_unavailable--; |
92 | 92 | ||
93 | if (priv->open && (! priv->hw_unavailable)) { | 93 | if (priv->open && (!priv->hw_unavailable)) { |
94 | err = __orinoco_up(dev); | 94 | err = __orinoco_up(dev); |
95 | if (err) | 95 | if (err) |
96 | printk(KERN_ERR "%s: Error %d restarting card on resume\n", | 96 | printk(KERN_ERR "%s: Error %d restarting card on resume\n", |
97 | dev->name, err); | 97 | dev->name, err); |
98 | } | 98 | } |
99 | 99 | ||
100 | spin_unlock_irqrestore(&priv->lock, flags); | 100 | spin_unlock_irqrestore(&priv->lock, flags); |
101 | 101 | ||
102 | return 0; | 102 | return 0; |