aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-11-18 03:23:00 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-18 13:48:44 -0500
commit91dcbf36f77c3d563e844fe0ed52ae896654ca7c (patch)
tree069f9bc1d925492d5bfc77207a147ad993450ffd /drivers/net
parentc2f379b2f8cf59e6bff4d028949a0273732460aa (diff)
drivers/net/r6040.c: remove exceptional & on function name
In this file, function names are otherwise used as pointers without &. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/r6040.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c
index 8b14c6eda7c3..0f30ea4e97ec 100644
--- a/drivers/net/r6040.c
+++ b/drivers/net/r6040.c
@@ -842,7 +842,7 @@ static int r6040_open(struct net_device *dev)
842 int ret; 842 int ret;
843 843
844 /* Request IRQ and Register interrupt handler */ 844 /* Request IRQ and Register interrupt handler */
845 ret = request_irq(dev->irq, &r6040_interrupt, 845 ret = request_irq(dev->irq, r6040_interrupt,
846 IRQF_SHARED, dev->name, dev); 846 IRQF_SHARED, dev->name, dev);
847 if (ret) 847 if (ret)
848 return ret; 848 return ret;