mtd: rawnand: denali: use helper function for ecc setup
authorAbhishek Sahu <absahu@codeaurora.org>
Wed, 20 Jun 2018 07:27:29 +0000 (12:57 +0530)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:24:05 +0000 (09:24 +0200)
commitf9801fda963ec9d0f6521695d2b0158249d85c94
tree0591122298732219e6cbe8c86f680877be751f37
parent181ace9e1b2e1c5c2be590bc9603baa65f3a16d8
mtd: rawnand: denali: use helper function for ecc setup

Use the NAND core helper function nand_ecc_choose_conf to tune
the ECC parameters instead of the function locally defined.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/denali.c