git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1eb234
)
mtd: nand: use a local variable to simplify the nand_scan_tail
author
Huang Shijie
<b32955@freescale.com>
Fri, 18 Oct 2013 06:20:53 +0000
(14:20 +0800)
committer
Brian Norris
<computersforpeace@gmail.com>
Thu, 7 Nov 2013 08:08:56 +0000
(
00:08
-0800)
There are too many "chip->ecc" in the nand_scan_tail() which makes the eyes
sore.
This patch uses a local variable "ecc" to replace the "chip->ecc" to
make the code more graceful.
Do the code change with "s/chip->ecc\./ecc->/g" in the nand_scan_tail,
and also change some lines by hand.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c
patch
|
blob
|
history
diff --cc
drivers/mtd/nand/nand_base.c
Simple merge