mtd: onenand: use mtd_set_ecclayout() where appropriate
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 3 Feb 2016 19:14:03 +0000 (20:14 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:05:54 +0000 (22:05 +0200)
commiteb8c2be581e0f6c98830bc9eee09905f9fefed32
tree380db05dffaaff3e87cf40c6bafad3e47de8fdf8
parent70d105e4eec233d8f8758d604bfe6c411b6ded5f
mtd: onenand: 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/onenand/onenand_base.c