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: NBoris Brezillon <boris.brezillon@free-electrons.com> Acked-by: NRobert Jarzmik <robert.jarzmik@free.fr>
Showing
想要评论请 注册 或 登录