From: Huang Shijie Date: Fri, 18 Oct 2013 06:20:53 +0000 (+0800) Subject: mtd: nand: use a local variable to simplify the nand_scan_tail X-Git-Tag: v3.13-rc1~98^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97de79e02d5e85b4a147b74cc2947b8613d806f7;p=pandora-kernel.git 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 Signed-off-by: Brian Norris --- Reading git-diff-tree failed