mtd: docg3: use mtd_set_ecclayout() where appropriate
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 3 Feb 2016 19:14:14 +0000 (20:14 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:05:55 +0000 (22:05 +0200)
commit06af3b023c016bf97e39fbe22087b1d974f9e474
tree62cb954b0868b3b38683c7b5488a2448afae65e7
parenteb8c2be581e0f6c98830bc9eee09905f9fefed32
mtd: docg3: 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>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
drivers/mtd/devices/docg3.c