On Thu, 2021-12-16 at 11:16:39 UTC, Miquel Raynal wrote: > Introduce nand_to_ecc_ctx() which will allow to easily jump to the > private pointer of an ECC context given a NAND device. This is very > handy, from the prepare or finish ECC hook, to get the internal context > out of the NAND device object. > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-mem-ecc. Miquel