diff options
author | Julia Lawall <julia@diku.dk> | 2009-11-18 09:23:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 19:48:47 +0100 |
commit | aa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0 (patch) | |
tree | 7b3174971875139928a4bc2ffd2b256212850019 /drivers/net/typhoon.c | |
parent | drivers/net/smsc9420.c: remove exceptional & on function name (diff) | |
download | linux-aa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0.tar.xz linux-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.c | 2 |
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; |