]> 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)
commita2657059306c5383357c7174b0b44c75f7c48c6e
tree7e9445043fb82354e5fdd442116ab9dd46c1e4cf
parentcc047d5697f9458d899b0221d056f8266288124a
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