mtd: nand: use mtd_set_ecclayout() where appropriate
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 3 Feb 2016 19:13:50 +0000 (20:13 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:05:54 +0000 (22:05 +0200)
commit70d105e4eec233d8f8758d604bfe6c411b6ded5f
tree7e9445043fb82354e5fdd442116ab9dd46c1e4cf
parentf6a6da179308356cac0f1dde979b67094437ef16
mtd: nand: use mtd_set_ecclayout() where appropriate

Use the mtd_set_ecclayout() helper instead of directly assigning the
mtd->ecclayout field.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/nand_base.c