projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ddd8db
)
mtd: brcmnand: remove double new line from print
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 17 May 2015 15:41:00 +0000
(17:41 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Mon, 18 May 2015 18:01:58 +0000
(11:01 -0700)
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>
drivers/mtd/nand/brcmnand/brcmnand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/brcmnand/brcmnand.c
b/drivers/mtd/nand/brcmnand/brcmnand.c
index
a780768
..
bae30ab
100644
(file)
--- 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);
}
/*