OSDN Git Service

mtd: rawnand: Get rid of chip->ecc.priv
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 29 Sep 2020 23:01:14 +0000 (01:01 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Dec 2020 21:37:29 +0000 (22:37 +0100)
commitcbd87780bed580b585d2992f29077ac44950cb66
treeb10cf439ed4320bcc9e39c1b1a00ce8d26d8acca
parent9994bb3f36e3d181d9f0a078609038080cfd7a3d
mtd: rawnand: Get rid of chip->ecc.priv

nand_ecc_ctrl embeds a private pointer which only has a meaning in the
sunxi driver. This structure will soon be deprecated, but as this
field is actually not needed, let's just drop it.

Cc: Maxime Ripard <mripard@kernel.org>
Cc: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20200929230124.31491-11-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/sunxi_nand.c
include/linux/mtd/rawnand.h