aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fec_mpc52xx.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/fec_mpc52xx.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/fec_mpc52xx.c')
-rw-r--r--drivers/net/fec_mpc52xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/fec_mpc52xx.c b/drivers/net/fec_mpc52xx.c
index 66dace6d324f..6407672b28e9 100644
--- a/drivers/net/fec_mpc52xx.c
+++ b/drivers/net/fec_mpc52xx.c
@@ -226,17 +226,17 @@ static int mpc52xx_fec_open(struct net_device *dev)
226 phy_start(priv->phydev); 226 phy_start(priv->phydev);
227 } 227 }
228 228
229 if (request_irq(dev->irq, &mpc52xx_fec_interrupt, IRQF_SHARED, 229 if (request_irq(dev->irq, mpc52xx_fec_interrupt, IRQF_SHARED,
230 DRIVER_NAME "_ctrl", dev)) { 230 DRIVER_NAME "_ctrl", dev)) {
231 dev_err(&dev->dev, "ctrl interrupt request failed\n"); 231 dev_err(&dev->dev, "ctrl interrupt request failed\n");
232 goto free_phy; 232 goto free_phy;
233 } 233 }
234 if (request_irq(priv->r_irq, &mpc52xx_fec_rx_interrupt, 0, 234 if (request_irq(priv->r_irq, mpc52xx_fec_rx_interrupt, 0,
235 DRIVER_NAME "_rx", dev)) { 235 DRIVER_NAME "_rx", dev)) {
236 dev_err(&dev->dev, "rx interrupt request failed\n"); 236 dev_err(&dev->dev, "rx interrupt request failed\n");
237 goto free_ctrl_irq; 237 goto free_ctrl_irq;
238 } 238 }
239 if (request_irq(priv->t_irq, &mpc52xx_fec_tx_interrupt, 0, 239 if (request_irq(priv->t_irq, mpc52xx_fec_tx_interrupt, 0,
240 DRIVER_NAME "_tx", dev)) { 240 DRIVER_NAME "_tx", dev)) {
241 dev_err(&dev->dev, "tx interrupt request failed\n"); 241 dev_err(&dev->dev, "tx interrupt request failed\n");
242 goto free_2irqs; 242 goto free_2irqs;