diff options
author | Julia Lawall <julia@diku.dk> | 2009-11-18 08:23:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 10:48:49 -0800 |
commit | 767813828f262679f1d9ed04deefb2e2f0768d7d (patch) | |
tree | 29e9f5c51e5c50e42402c45f340da0528243a328 | |
parent | aa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0 (diff) |
drivers/net/via-rhine.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>
-rw-r--r-- | drivers/net/via-rhine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c index 4535e89dfff..ec94ddf01f5 100644 --- a/drivers/net/via-rhine.c +++ b/drivers/net/via-rhine.c @@ -1150,7 +1150,7 @@ static int rhine_open(struct net_device *dev) void __iomem *ioaddr = rp->base; int rc; - rc = request_irq(rp->pdev->irq, &rhine_interrupt, IRQF_SHARED, dev->name, + rc = request_irq(rp->pdev->irq, rhine_interrupt, IRQF_SHARED, dev->name, dev); if (rc) return rc; |