checkpatch: add a --fix-inplace option
authorJoe Perches <joe@perches.com>
Thu, 23 Jan 2014 23:54:44 +0000 (15:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:58 +0000 (16:36 -0800)
commit9624b8d65cd1e9a6415a81a6588e423b1d8c2282
tree3efead36061f8934d6d2d0bdc2c571ee8ffc1539
parentc34c09a8451fac8555cbf0e8df1f6cf31cf1360b
checkpatch: add a --fix-inplace option

Add the ability to fix and overwrite existing files/patches instead of
creating a new file "<filename>.EXPERIMENTAL-checkpatch-fixes".

Suggested-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl