aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/korina.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-11-19 02:29:17 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-19 02:29:17 -0500
commita0607fd3a25ba1848a63a0d925e36d914735ab47 (patch)
treec9bbdf40c9ded30af844e80870a7180ce0c0cb5c /drivers/net/korina.c
parent2939e275994977b6c9eb7fd082b7b0caa35b96b0 (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/korina.c')
-rw-r--r--drivers/net/korina.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/korina.c b/drivers/net/korina.c
index a07a5972b57e..25e2af6997e4 100644
--- a/drivers/net/korina.c
+++ b/drivers/net/korina.c
@@ -1014,14 +1014,14 @@ static int korina_open(struct net_device *dev)
1014 /* Install the interrupt handler 1014 /* Install the interrupt handler
1015 * that handles the Done Finished 1015 * that handles the Done Finished
1016 * Ovr and Und Events */ 1016 * Ovr and Und Events */
1017 ret = request_irq(lp->rx_irq, &korina_rx_dma_interrupt, 1017 ret = request_irq(lp->rx_irq, korina_rx_dma_interrupt,
1018 IRQF_DISABLED, "Korina ethernet Rx", dev); 1018 IRQF_DISABLED, "Korina ethernet Rx", dev);
1019 if (ret < 0) { 1019 if (ret < 0) {
1020 printk(KERN_ERR "%s: unable to get Rx DMA IRQ %d\n", 1020 printk(KERN_ERR "%s: unable to get Rx DMA IRQ %d\n",
1021 dev->name, lp->rx_irq); 1021 dev->name, lp->rx_irq);
1022 goto err_release; 1022 goto err_release;
1023 } 1023 }
1024 ret = request_irq(lp->tx_irq, &korina_tx_dma_interrupt, 1024 ret = request_irq(lp->tx_irq, korina_tx_dma_interrupt,
1025 IRQF_DISABLED, "Korina ethernet Tx", dev); 1025 IRQF_DISABLED, "Korina ethernet Tx", dev);
1026 if (ret < 0) { 1026 if (ret < 0) {
1027 printk(KERN_ERR "%s: unable to get Tx DMA IRQ %d\n", 1027 printk(KERN_ERR "%s: unable to get Tx DMA IRQ %d\n",
@@ -1030,7 +1030,7 @@ static int korina_open(struct net_device *dev)
1030 } 1030 }
1031 1031
1032 /* Install handler for overrun error. */ 1032 /* Install handler for overrun error. */
1033 ret = request_irq(lp->ovr_irq, &korina_ovr_interrupt, 1033 ret = request_irq(lp->ovr_irq, korina_ovr_interrupt,
1034 IRQF_DISABLED, "Ethernet Overflow", dev); 1034 IRQF_DISABLED, "Ethernet Overflow", dev);
1035 if (ret < 0) { 1035 if (ret < 0) {
1036 printk(KERN_ERR "%s: unable to get OVR IRQ %d\n", 1036 printk(KERN_ERR "%s: unable to get OVR IRQ %d\n",
@@ -1039,7 +1039,7 @@ static int korina_open(struct net_device *dev)
1039 } 1039 }
1040 1040
1041 /* Install handler for underflow error. */ 1041 /* Install handler for underflow error. */
1042 ret = request_irq(lp->und_irq, &korina_und_interrupt, 1042 ret = request_irq(lp->und_irq, korina_und_interrupt,
1043 IRQF_DISABLED, "Ethernet Underflow", dev); 1043 IRQF_DISABLED, "Ethernet Underflow", dev);
1044 if (ret < 0) { 1044 if (ret < 0) {
1045 printk(KERN_ERR "%s: unable to get UND IRQ %d\n", 1045 printk(KERN_ERR "%s: unable to get UND IRQ %d\n",