From: Julia Lawall Date: Wed, 18 Nov 2009 08:23:34 +0000 (+0000) Subject: drivers/net/typhoon.c: remove exceptional & on function name X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa36ab8edb8a7e7be1f4cf99d0743e58e6249fb0;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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/) // @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/typhoon.c b/drivers/net/typhoon.c index d6d345229fe9..4b7541024424 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;