[PATCH] mtd: spi-nor: macronix: use nor->addr_nbytes

Pratyush Yadav pratyush at kernel.org
Mon Nov 25 05:57:11 PST 2024


On Mon, Nov 11 2024, Tudor Ambarus wrote:

> Use the nor->addr_nbytes set by the core, we shouldn't use
> magic numbers or states that are not tracked by the core.
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus at linaro.org>

Acked-by: Pratyush Yadav <pratyush at kernel.org>

-- 
Regards,
Pratyush Yadav



More information about the linux-mtd mailing list