checkpatch: add fix_insert_line and fix_delete_line helpers
authorJoe Perches <joe@perches.com>
Wed, 6 Aug 2014 23:11:07 +0000 (16:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:28 +0000 (18:01 -0700)
commitf2d7e4d4398092d14fb039cb4d38e502d3f019ee
tree18b238e5a05361610b5c8e90c40504fb5c204c14
parentd752fcc88b7dddc0bbe6d43b658b306a9d7d1dae
checkpatch: add fix_insert_line and fix_delete_line helpers

Neaten the uses of patch/file line insertions or deletions.  Hide the
mechanism used.

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