[PATCH v3 04/11] i2c: nomadik: use bitops helpers

Andi Shyti andi.shyti at kernel.org
Thu Mar 7 15:04:21 PST 2024


Hi Theo,

On Wed, Mar 06, 2024 at 06:59:24PM +0100, Théo Lebrun wrote:
> Constant register bit fields are declared using hardcoded hex values;
> replace them by calls to BIT() and GENMASK(). Replace custom GEN_MASK()
> macro by the generic FIELD_PREP(). Replace manual bit manipulations by
> the generic FIELD_GET() macro.
> 
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
> Signed-off-by: Théo Lebrun <theo.lebrun at bootlin.com>

Thanks!

Reviewed-by: Andi Shyti <andi.shyti at kernel.org>

Andi



More information about the linux-arm-kernel mailing list