checkpatch: add ability to --fix unnecessary blank lines around braces
authorJoe Perches <joe@perches.com>
Fri, 13 Feb 2015 22:38:46 +0000 (14:38 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Feb 2015 05:21:39 +0000 (21:21 -0800)
commitf8e58219dc58cce633697fe15e6c5597bedb296b
treedcdcdff6091b759cc047ab3bf80bf01dfce12319
parent021158b4c7bd8d0ec4dc8d09c013288429da7ee2
checkpatch: add ability to --fix unnecessary blank lines around braces

There's a --strict test for these blank lines.

Add the ability to automatically remove them with --fix.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl