mtd: nand: fsl_ifc: use mtd_ooblayout_xxx() helpers where appropriate
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 3 Feb 2016 19:11:32 +0000 (20:11 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:05:50 +0000 (22:05 +0200)
commit9ed92dd29015de67041cf45f364a46f1fa84bf79
tree90212fce207d655001d8309b45efa09fd4cbe8f1
parent78d28e8ec4fbd4d1e0c375d7a28f4f23e9e7b15e
mtd: nand: fsl_ifc: use mtd_ooblayout_xxx() helpers where appropriate

The mtd_ooblayout_xxx() helper functions have been added to avoid direct
accesses to the ecclayout field, and thus ease for future reworks.
Use these helpers in all places where the oobfree[] and eccpos[] arrays
where directly accessed.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/fsl_ifc_nand.c