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>
|
||
|---|---|---|
| .. | ||
| lmc.h | ||
| lmc_debug.c | ||
| lmc_debug.h | ||
| lmc_ioctl.h | ||
| lmc_main.c | ||
| lmc_media.c | ||
| lmc_proto.c | ||
| lmc_proto.h | ||
| lmc_var.h | ||
| Makefile | ||