]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: mxc_nand: cleanup copy_spare function
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 13 May 2015 08:17:36 +0000 (11:17 +0300)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 20 May 2015 22:29:42 +0000 (15:29 -0700)
commit964d09204bb4e6db08d6a03989c91e2ac1f440a8
tree045dc48b80a78905640c6ff64f4429005ec151d2
parent9b1d0aaae71028a77e3258e2bb15ca769dcdea2e
mtd: mxc_nand: cleanup copy_spare function

To give people without the reference manual at hand a chance to
understand how spare area is handled in the i.MX nand controller,
improve commenting, naming of variables and coding style.

No functional change intended.

Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
[baruch: declare oob_chunk_size; update comments; reword commit log]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/mxc_nand.c