Staging: mt29f_spinand: Remove blank line before '}' and after '{' braces
authorEva Rachel Retuya <eraretuya@gmail.com>
Thu, 22 Oct 2015 17:07:39 +0000 (01:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 01:33:17 +0000 (18:33 -0700)
Remove unneeded blank lines preceding/following '}' and '{' braces, as
pointed out by checkpatch.

This patch addresses the following checkpatch checks:

CHECK: Blank lines aren't necessary before a close brace '}'
CHECK: Blank lines aren't necessary after an open brace '{'

Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt29f_spinand/mt29f_spinand.c

index dc9877efe127e2945e7c82ee4acca3f33ea423f0..c00749ed6da0d0ed2f55517b2f30c6e748a45607 100644 (file)
@@ -660,7 +660,6 @@ static int spinand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
                }
        }
        return 0;
-
 }
 #endif
 
@@ -711,7 +710,6 @@ static int spinand_wait(struct mtd_info *mtd, struct nand_chip *chip)
 
 static void spinand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
 {
-
        struct spinand_state *state = mtd_to_state(mtd);
 
        memcpy(state->buf + state->buf_ptr, buf, len);