diff options
author | Julia Lawall <julia@diku.dk> | 2009-11-18 09:23:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 19:48:49 +0100 |
commit | 767813828f262679f1d9ed04deefb2e2f0768d7d (patch) | |
tree | 29e9f5c51e5c50e42402c45f340da0528243a328 /drivers/net/via-rhine.c | |
parent | drivers/net/typhoon.c: remove exceptional & on function name (diff) | |
download | linux-767813828f262679f1d9ed04deefb2e2f0768d7d.tar.xz linux-767813828f262679f1d9ed04deefb2e2f0768d7d.zip |
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>
Diffstat (limited to '')
-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 4535e89dfff1..ec94ddf01f56 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; |