diff options
author | Julia Lawall <julia@diku.dk> | 2009-11-18 03:23:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 13:48:47 -0500 |
commit | aa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0 (patch) | |
tree | 7b3174971875139928a4bc2ffd2b256212850019 /drivers/net/typhoon.c | |
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/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 d6d345229fe..4b754102442 100644 --- a/drivers/net/typhoon.c +++ b/drivers/net/typhoon.c | |||
@@ -2150,7 +2150,7 @@ typhoon_open(struct net_device *dev) | |||
2150 | goto out_sleep; | 2150 | goto out_sleep; |
2151 | } | 2151 | } |
2152 | 2152 | ||
2153 | err = request_irq(dev->irq, &typhoon_interrupt, IRQF_SHARED, | 2153 | err = request_irq(dev->irq, typhoon_interrupt, IRQF_SHARED, |
2154 | dev->name, dev); | 2154 | dev->name, dev); |
2155 | if(err < 0) | 2155 | if(err < 0) |
2156 | goto out_sleep; | 2156 | goto out_sleep; |