summaryrefslogtreecommitdiffstats
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
parenta974a679d252ed9629061b2a29dc639f4557ca70 (diff)
downloadop-kernel-dev-aa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0.zip
op-kernel-dev-aa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0.tar.gz
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 d6d3452..4b75410 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;
OpenPOWER on IntegriCloud