aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/typhoon.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-11-18 08:23:34 +0000
committerDavid S. Miller <davem@davemloft.net>2009-11-18 10:48:47 -0800
commitaa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0 (patch)
tree7b3174971875139928a4bc2ffd2b256212850019 /drivers/net/typhoon.c
parentdrivers/net/smsc9420.c: remove exceptional & on function name (diff)
downloadlinux-dev-aa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0.tar.xz
linux-dev-aa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0.zip
drivers/net/typhoon.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/typhoon.c')
-rw-r--r--drivers/net/typhoon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/typhoon.c b/drivers/net/typhoon.c
index d6d345229fe9..4b7541024424 100644
--- a/drivers/net/typhoon.c
+++ b/drivers/net/typhoon.c
@@ -2150,7 +2150,7 @@ typhoon_open(struct net_device *dev)
goto out_sleep;
}
- err = request_irq(dev->irq, &typhoon_interrupt, IRQF_SHARED,
+ err = request_irq(dev->irq, typhoon_interrupt, IRQF_SHARED,
dev->name, dev);
if(err < 0)
goto out_sleep;