mtd: atmel_nand: use minimum ecc requirements of nand: ecc_{strength,step}_ds
authorJosh Wu <josh.wu@atmel.com>
Wed, 18 Sep 2013 05:58:48 +0000 (13:58 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Sun, 27 Oct 2013 23:27:04 +0000 (16:27 -0700)
commit2a3d933a46e9948e01fc34348bed0baec8d8bf2b
tree6a48b4e6a082f5ae9e385a237ef02e7c576fb449
parent81f29b475dae3ebd73a98cde29ef8f3c9670865c
mtd: atmel_nand: use minimum ecc requirements of nand: ecc_{strength,step}_ds

Since ecc_{strength,step}_ds is introduced in nand_chip structure for
minimum ecc requirements. So we can use them directly and remove our
own get_onfi_ecc_param function.

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