drivers/net/typhoon.c: remove exceptional & on function name
authorJulia Lawall <julia@diku.dk>
Wed, 18 Nov 2009 08:23:34 +0000 (08:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Nov 2009 18:48:47 +0000 (10:48 -0800)
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>
drivers/net/typhoon.c

index d6d345229fe941cdc95d52dc5a3f7fcbfb1ad4e8..4b75410244240a1b01a932e79d78f919408ec23b 100644 (file)
@@ -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;