]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33081edfd90dc13261644c9e514ed02bcfa46cbf
treeb10cf439ed4320bcc9e39c1b1a00ce8d26d8acca
parent22433efc94914466887d2e475d3a7a5dc7a93880
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