mtd: nand: Rename a core structure
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 29 May 2020 00:25:10 +0000 (02:25 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 26 Jun 2020 06:35:04 +0000 (08:35 +0200)
commit85f54c5588885cc3b5be4a07498dd0755de9f5cf
treea533cb0fb86f848059d200b7439a24a99cc38375
parent6232095cc57cd096f126fa23c227a20a1669cc4f
mtd: nand: Rename a core structure

Prepare the migration to a generic ECC engine by renaming the
nand_ecc_req structure into nand_ecc_props. This structure will be the
base of a wider 'nand_ecc' structure.

In nand_device, these properties are still named "eccreq" even if
"eccprops" might be more descriptive. This is just a transition step,
this field is being replaced very soon by a much wider structure. The
impact of renaming this field would be huge compared to its interest.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200529002517.3546-14-miquel.raynal@bootlin.com
include/linux/mtd/nand.h
include/linux/mtd/spinand.h