drivers/net: request_irq - Remove unnecessary leading & from second arg
Not as fancy as coccinelle. Checkpatch errors ignored. Compile tested allyesconfig x86, not all files compiled. grep -rPl --include=*.[ch] "\brequest_irq\s*\([^,\)]+,\s*\&" drivers/net | while read file ; do \ perl -i -e 'local $/; while (<>) { s@(\brequest_irq\s*\([^,\)]+,\s*)\&@\1@g ; print ; }' $file ;\ done Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committato da
David S. Miller

parent
2939e27599
commit
a0607fd3a2
@@ -218,7 +218,7 @@ static struct z8530_dev *sv11_init(int iobase, int irq)
|
||||
/* We want a fast IRQ for this device. Actually we'd like an even faster
|
||||
IRQ ;) - This is one driver RtLinux is made for */
|
||||
|
||||
if (request_irq(irq, &z8530_interrupt, IRQF_DISABLED,
|
||||
if (request_irq(irq, z8530_interrupt, IRQF_DISABLED,
|
||||
"Hostess SV11", sv) < 0) {
|
||||
printk(KERN_WARNING "hostess: IRQ %d already in use.\n", irq);
|
||||
goto err_irq;
|
||||
|
Fai riferimento in un nuovo problema
Block a user