]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69aa08a5ca22e50bcd02488911295cdf58fe46da
treec6a41aa8eb1dbcd5e3969d7a902e817da87b00e7
parent5ab10eb7ad96236da3b9d184a981d356551d00b1
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