diff options
| author | 2010-10-11 17:39:06 -0300 | |
|---|---|---|
| committer | 2010-10-21 07:55:27 -0200 | |
| commit | c7e242baf73a284eff92444fb58af11439e3a22c (patch) | |
| tree | db1fae0f8d0ff85d0218afe1cc1310ba20a067ba /tools/perf/scripts/python | |
| parent | [media] saa7164: Don't use typedefs (diff) | |
[media] saa7134: Fix lots os spaces at the wrong places
There are lots of checkpatch complains about:
ERROR: space prohibited after that open parenthesis '('
ERROR: space prohibited after that open square bracket '['
ERROR: space prohibited before that close parenthesis ')'
ERROR: space prohibited before that close square bracket ']'
This script should fix all of them:
for i in drivers/media/video/saa7164/*.[ch]; do cat $i|perl -ne 's/\[\ +(.*)/[$1/; s/\ +\]/$1\]/g; s/\(\ +(.*)/($1/g; s/\ +\)/$1)/g; print $_;' >a && mv a $i; done
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
