diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-05-17 17:41:00 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-05-18 11:01:58 -0700 |
commit | 802041247a0abbeaf1dddb8a8d56f491762ae357 (patch) | |
tree | 4ab3f3b552e692e16df971bc8b521270f6da0c6a /drivers/mtd/nand/brcmnand | |
parent | 2ddd8db90a22fc4ac708cd8497ed5e46b7f24d49 (diff) | |
download | linux-stable-802041247a0abbeaf1dddb8a8d56f491762ae357.tar.gz linux-stable-802041247a0abbeaf1dddb8a8d56f491762ae357.tar.bz2 linux-stable-802041247a0abbeaf1dddb8a8d56f491762ae357.zip |
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/nand/brcmnand')
-rw-r--r-- | drivers/mtd/nand/brcmnand/brcmnand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/brcmnand/brcmnand.c b/drivers/mtd/nand/brcmnand/brcmnand.c index a780768fe5e0..bae30ab8f12f 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); } /* |