[PATCH] mtd: spi-nor: replace unnecessary div64_u64() with div_u64()

Pratyush Yadav pratyush at kernel.org
Tue Apr 30 08:45:37 PDT 2024


On Mon, Apr 29 2024, Michael Walle wrote:

> Both occurences of div64_u64() just have a u8 or u32 divisor. Use
> div_u64() instead.

Applied, thanks! I fixed up the commit message a little by adding the bit
about performance on 32 bit arch, and fixed some typos.

[1/1] mtd: spi-nor: replace unnecessary div64_u64() with div_u64()
      commit: https://git.kernel.org/mtd/c/c84b3925c7d6c

-- 
Regards,
Pratyush Yadav



More information about the linux-mtd mailing list