[PATCH] mtd: nand: use a local variable to simplify the nand_scan_tail

Brian Norris computersforpeace at gmail.com
Thu Nov 7 03:13:03 EST 2013


On Fri, Oct 18, 2013 at 02:20:53PM +0800, Huang Shijie wrote:
> 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 at freescale.com>

Pushed to l2-mtd.git.

Brian



More information about the linux-mtd mailing list