mtd: fix almost all checkpatch warnings in nand_base.c
authorFlorian Fainelli <florian@openwrt.org>
Tue, 7 Sep 2010 11:23:45 +0000 (13:23 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 22:51:51 +0000 (23:51 +0100)
commit7351d3a5dbf42ba3299af71db3296be447bc1516
treec6a41aa8eb1dbcd5e3969d7a902e817da87b00e7
parentf8ac04140e2215e1680440d5a8642553b0d2fa2d
mtd: fix almost all checkpatch warnings in nand_base.c

Only 3 warnings are left, one is off by one character, but splitting the line
would reduce the readability. One is for a for loop statement, which would also
not improve readability. The last one is a false positive on a test.

Artem: it is much easier to verify patches against nand_base.c with
       checkpatch.pl when nand_base.c itself does not have so many
       checkpatch.pl warnings.

Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c