On Tue, 2020-05-26 at 19:56:17 UTC, Miquel Raynal wrote: > There is an enumeration to list ECC algorithm, let's use it instead of > returning an int. > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> > Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next. Miquel