Re: [PATCH v1 4/7] i2c: nomadik: Use HZ_PER_GHZ constant instead of plain number

From: Linus Walleij

Date: Mon Jan 12 2026 - 10:52:22 EST


On Mon, Jan 12, 2026 at 2:49 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> Use defined constant to avoid the possible mistakes and to provide
> an additional information on the units.
>
> While at it, drop unneeded 64-bit division, all operands fit 32-bit.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

It makes perfect sense, I don't remember why I put ULL in there
anymore :/

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij