mtd: nand: set ECC algorithm in nand_dt_init
authorRafał Miłecki <zajec5@gmail.com>
Wed, 23 Mar 2016 10:19:02 +0000 (11:19 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:04:49 +0000 (22:04 +0200)
commit79082457d71af879922e15f9dedf85384e84c29f
tree1f68298c8eda5179e98d98b9fa7fcd3eecae6e5d
parentdd2dcc004230b9d8fa809102cd326e3ee4bbdb2a
mtd: nand: set ECC algorithm in nand_dt_init

Use recently added of_get_nand_ecc_algo for that.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/nand_base.c