[PATCH 0/2] mtd: nand: sunxi: cleanup

Boris Brezillon boris.brezillon at free-electrons.com
Wed Sep 16 00:46:35 PDT 2015


Hello,

Those two patches aim at cleaning up the sunxi_nand driver by first adding
some consistency in the macro definitions, and then factorizing the code
duplicated code found in hw_ecc and hw_syndrome_ecc implementations.

Best Regards,

Boris

Boris Brezillon (2):
  mtd: nand: sunxi: rework macros
  mtd: sunxi: nand: refactor ->read_page()/->write_page() code

 drivers/mtd/nand/sunxi_nand.c | 487 ++++++++++++++++++++++--------------------
 1 file changed, 256 insertions(+), 231 deletions(-)

-- 
1.9.1




More information about the linux-arm-kernel mailing list