tools: Add cleanpatch
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 28 Sep 2012 03:36:14 +0000 (03:36 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:04 +0000 (11:54 -0700)
commit92eee7cde155d75c53a048eb93116ea8ea62db10
tree7598efc040a490d43363f6f89b58cbc4ae5dcd47
parentafb9bf55d093287458f4c2d3d2e42d90a7e91c95
tools: Add cleanpatch

There are some errors reported by checkpatch.pl that can be easily cleaned up by
using the cleanpatch tool.

Import the cleanpatch script from linux kernel 3.5.4 stable version as from the
following commit:

commit cb3ed5b7e09c6c0462e396d55e3fecc0980a333a
Author: H. Peter Anvin <hpa@zytor.com>
Date:   Fri May 25 17:58:26 2007 -0700

    scripts: Make cleanfile/cleanpatch warn about long lines

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
tools/cleanpatch [new file with mode: 0755]