Searched hist:c2b78452 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mtd/ |
H A D | mtdchar.c | c2b78452 Wed Feb 03 13:10:30 CST 2016 Boris Brezillon <boris.brezillon@free-electrons.com> mtd: 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> c2b78452 Wed Feb 03 13:10:30 CST 2016 Boris Brezillon <boris.brezillon@free-electrons.com> mtd: 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>
|