From: Julia Lawall Date: Wed, 18 Nov 2009 08:23:53 +0000 (+0000) Subject: drivers/net/via-rhine.c: remove exceptional & on function name X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=767813828f262679f1d9ed04deefb2e2f0768d7d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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/) // @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller --- 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;