[PATCH] mtd: Avoid magic values

Michael Walle michael at walle.cc
Tue Mar 7 12:31:58 PST 2023


Am 2023-03-07 20:25, schrieb Miquel Raynal:
> 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>

-michael



More information about the linux-mtd mailing list