checkpatch: add a few more --fix corrections
authorJoe Perches <joe@perches.com>
Wed, 11 Sep 2013 21:23:54 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:39 +0000 (15:58 -0700)
commitd5e616fc1c1dd673c53b682877e2d35a2862263c
treec1eec612d62f6c6d6ade9a843f89ff34ad94fab4
parent1431574a1c4c669a0c198e4763627837416e4443
checkpatch: add a few more --fix corrections

Suggest a few more single-line corrections.

Remove DOS line endings
Simplify removing trailing whitespace
Remove global/static initializations to 0/NULL
Convert pr_warning to pr_warn
Add space after brace
Convert binary constants to hex
Remove whitespace after line continuation
Use inline not __inline or __inline__
Use __printf and __scanf
Use a single ; for statement terminations
Convert __FUNCTION__ to __func__

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