summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-05-17 15:41:00 (GMT)
committerBrian Norris <computersforpeace@gmail.com>2015-05-18 18:01:58 (GMT)
commit802041247a0abbeaf1dddb8a8d56f491762ae357 (patch)
tree4ab3f3b552e692e16df971bc8b521270f6da0c6a /drivers/mtd
parent2ddd8db90a22fc4ac708cd8497ed5e46b7f24d49 (diff)
downloadlinux-802041247a0abbeaf1dddb8a8d56f491762ae357.tar.xz
mtd: brcmnand: remove double new line from print
The caller already adds a new line and in the other cases there is no new line added. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/brcmnand/brcmnand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/brcmnand/brcmnand.c b/drivers/mtd/nand/brcmnand/brcmnand.c
index a780768..bae30ab 100644
--- a/drivers/mtd/nand/brcmnand/brcmnand.c
+++ b/drivers/mtd/nand/brcmnand/brcmnand.c
@@ -1765,7 +1765,7 @@ static void brcmnand_print_cfg(char *buf, struct brcmnand_cfg *cfg)
else if (cfg->sector_size_1k)
sprintf(buf, ", BCH-%u (1KiB sector)", cfg->ecc_level << 1);
else
- sprintf(buf, ", BCH-%u\n", cfg->ecc_level);
+ sprintf(buf, ", BCH-%u", cfg->ecc_level);
}
/*