diff options
author | Julia Lawall <julia@diku.dk> | 2009-11-18 08:23:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 10:48:47 -0800 |
commit | aa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0 (patch) | |
tree | 7b3174971875139928a4bc2ffd2b256212850019 /drivers/net | |
parent | a974a679d252ed9629061b2a29dc639f4557ca70 (diff) |
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')
-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 d6d345229fe..4b754102442 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; |