diff options
| author | 2024-03-06 18:59:24 +0100 | |
|---|---|---|
| committer | 2024-03-12 11:50:43 +0100 | |
| commit | a9f5cd892354425dcba67692e0afe3af6a2b4b1f (patch) | |
| tree | 3cd18d9669c6fc42a043c864e39c187a8fa68fcc /include/uapi/linux/byteorder/ssh:/git: | |
| parent | i2c: nomadik: simplify IRQ masking logic (diff) | |
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>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git:')
0 files changed, 0 insertions, 0 deletions
