Théo Lebrun a9f5cd8923 i2c: nomadik: use bitops helpers
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@linaro.org>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
2024-03-12 11:50:43 +01:00
..
2024-03-12 11:50:43 +01:00
2023-01-17 09:29:59 +01:00
2024-01-18 21:10:43 +01:00
2023-04-27 12:07:50 -07:00
2023-09-13 10:56:00 +02:00