summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2013-10-18 08:20:53 +0200
committerBrian Norris <computersforpeace@gmail.com>2013-11-07 09:08:56 +0100
commit97de79e02d5e85b4a147b74cc2947b8613d806f7 (patch)
tree7b357da4333869e941b1f7f8293ce972c6226daf /drivers/mtd/maps
parentmtd: nand: remove deprecated IRQF_DISABLED (diff)
downloadlinux-97de79e02d5e85b4a147b74cc2947b8613d806f7.tar.xz
linux-97de79e02d5e85b4a147b74cc2947b8613d806f7.zip
mtd: nand: use a local variable to simplify the nand_scan_tail
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>
Diffstat (limited to 'drivers/mtd/maps')
0 files changed, 0 insertions, 0 deletions