]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d0032acbb5c5ac42161be790febb0be81a0d2f1
tree7e9445043fb82354e5fdd442116ab9dd46c1e4cf
parent1e3c003534d948c3b49aa6187221e189183fc817
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