]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: atmel_nand: remove pmecc_bytes_per_sector, use chip->ecc.bytes instead
authorWu, Josh <Josh.wu@atmel.com>
Fri, 8 Aug 2014 09:12:35 +0000 (17:12 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 18 Sep 2014 06:05:11 +0000 (23:05 -0700)
commit022a478ce650f5c36d2a9badfd805368a90fb506
treecbe973f9ba39f01c39fa4bd7371fd2e468a69c3d
parentc9447fff34aacc04f2e7df39612d2d6e234643f3
mtd: atmel_nand: remove pmecc_bytes_per_sector, use chip->ecc.bytes instead

For PMECC, the pmecc_bytes_per_sector has same meaning as ecc.bytes.
So remove pmecc_bytes_per_sector and use ecc.bytes instead.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/atmel_nand.c