diff options
author | Joe Perches <joe@perches.com> | 2009-11-19 02:29:17 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-19 02:29:17 -0500 |
commit | a0607fd3a25ba1848a63a0d925e36d914735ab47 (patch) | |
tree | c9bbdf40c9ded30af844e80870a7180ce0c0cb5c /drivers/net/wireless | |
parent | 2939e275994977b6c9eb7fd082b7b0caa35b96b0 (diff) |
drivers/net: request_irq - Remove unnecessary leading & from second arg
Not as fancy as coccinelle. Checkpatch errors ignored.
Compile tested allyesconfig x86, not all files compiled.
grep -rPl --include=*.[ch] "\brequest_irq\s*\([^,\)]+,\s*\&" drivers/net | while read file ; do \
perl -i -e 'local $/; while (<>) { s@(\brequest_irq\s*\([^,\)]+,\s*)\&@\1@g ; print ; }' $file ;\
done
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/prism54/islpci_hotplug.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 9e64dd43a3be..0cb5ecc822a8 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c | |||
@@ -2817,7 +2817,7 @@ static int mwl8k_start(struct ieee80211_hw *hw) | |||
2817 | struct mwl8k_priv *priv = hw->priv; | 2817 | struct mwl8k_priv *priv = hw->priv; |
2818 | int rc; | 2818 | int rc; |
2819 | 2819 | ||
2820 | rc = request_irq(priv->pdev->irq, &mwl8k_interrupt, | 2820 | rc = request_irq(priv->pdev->irq, mwl8k_interrupt, |
2821 | IRQF_SHARED, MWL8K_NAME, hw); | 2821 | IRQF_SHARED, MWL8K_NAME, hw); |
2822 | if (rc) { | 2822 | if (rc) { |
2823 | printk(KERN_ERR "%s: failed to register IRQ handler\n", | 2823 | printk(KERN_ERR "%s: failed to register IRQ handler\n", |
@@ -3482,7 +3482,7 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev, | |||
3482 | iowrite32(0, priv->regs + MWL8K_HIU_A2H_INTERRUPT_CLEAR_SEL); | 3482 | iowrite32(0, priv->regs + MWL8K_HIU_A2H_INTERRUPT_CLEAR_SEL); |
3483 | iowrite32(0xffffffff, priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK); | 3483 | iowrite32(0xffffffff, priv->regs + MWL8K_HIU_A2H_INTERRUPT_STATUS_MASK); |
3484 | 3484 | ||
3485 | rc = request_irq(priv->pdev->irq, &mwl8k_interrupt, | 3485 | rc = request_irq(priv->pdev->irq, mwl8k_interrupt, |
3486 | IRQF_SHARED, MWL8K_NAME, hw); | 3486 | IRQF_SHARED, MWL8K_NAME, hw); |
3487 | if (rc) { | 3487 | if (rc) { |
3488 | printk(KERN_ERR "%s: failed to register IRQ handler\n", | 3488 | printk(KERN_ERR "%s: failed to register IRQ handler\n", |
diff --git a/drivers/net/wireless/prism54/islpci_hotplug.c b/drivers/net/wireless/prism54/islpci_hotplug.c index 83d366258c81..e4f2bb7368f2 100644 --- a/drivers/net/wireless/prism54/islpci_hotplug.c +++ b/drivers/net/wireless/prism54/islpci_hotplug.c | |||
@@ -181,7 +181,7 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
181 | isl38xx_disable_interrupts(priv->device_base); | 181 | isl38xx_disable_interrupts(priv->device_base); |
182 | 182 | ||
183 | /* request for the interrupt before uploading the firmware */ | 183 | /* request for the interrupt before uploading the firmware */ |
184 | rvalue = request_irq(pdev->irq, &islpci_interrupt, | 184 | rvalue = request_irq(pdev->irq, islpci_interrupt, |
185 | IRQF_SHARED, ndev->name, priv); | 185 | IRQF_SHARED, ndev->name, priv); |
186 | 186 | ||
187 | if (rvalue) { | 187 | if (rvalue) { |