• M
    [media] saa7134: Fix lots os spaces at the wrong places · c7e242ba
    Mauro Carvalho Chehab 提交于
    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: NMauro Carvalho Chehab <mchehab@redhat.com>
    c7e242ba
saa7164-api.c 43.6 KB