[PATCH v1 4/7] i2c: nomadik: Use HZ_PER_GHZ constant instead of plain number
Linus Walleij
linusw at kernel.org
Mon Jan 12 07:52:07 PST 2026
On Mon, Jan 12, 2026 at 2:49 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> 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 at linux.intel.com>
It makes perfect sense, I don't remember why I put ULL in there
anymore :/
Reviewed-by: Linus Walleij <linusw at kernel.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list