summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2026-08-21 22:10:29 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2026-08-23 21:23:57 +0200
commit5ae93269d3e51db730ca3ee96f8833e4d3befd95 (patch)
treefb1c9c94eb33fc1a63447df91981be964a50b8e9 /scripts/objdiff
parent0e1ae8c654f05d813457bee308f864acea7b5cc1 (diff)
downloadlinux-next-5ae93269d3e51db730ca3ee96f8833e4d3befd95.tar.gz
linux-next-5ae93269d3e51db730ca3ee96f8833e4d3befd95.zip
rtc: rzn1: use FIELD_PREP/FIELD_GET and GENMASK for register access
Replace open-coded shift and mask operations with the bitfield API. Note that the weekday field is changed from an explicit 0x0f mask to an 8-bit field definition, matching the hardware manual. This does not change behaviour, as valid weekday values cannot exceed 7. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://patch.msgid.link/20260821211032.13554-15-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions