Re: [PATCH v4 5/9] i2c: riic: Use GENMASK() macro for bitmask definitions

From: Andy Shevchenko
Date: Sun Jan 12 2025 - 09:26:16 EST


On Fri, Jan 3, 2025 at 11:19 AM Prabhakar <prabhakar.csengg@xxxxxxxxx> wrote:
>
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
>
> Replace raw bitmask values with the `GENMASK()` macro in the `i2c-riic`
> driver to improve readability and maintain consistency.

...

> +#include <linux/bits.h>

This will be part of the previous patch.

--
With Best Regards,
Andy Shevchenko