[PATCH] mtd: Avoid magic values

Miquel Raynal miquel.raynal at bootlin.com
Wed Mar 22 09:08:30 PDT 2023

On Tue, 2023-03-07 at 19:25:36 UTC, Miquel Raynal wrote:
> Nvmem producer config ID "-1" is actually defined, so use the definition
> rather than hardcoding it with a magic value.
> Suggested-by: Michael Walle <michael at walle.cc>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> Reviewed-by: Michael Walle <michael at walle.cc>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next.


More information about the linux-mtd mailing list