diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2024-02-25 16:13:36 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2024-02-26 10:07:25 +0100 |
commit | 755350bcfb4ac8cbbb62bd7ee6be8271d4b2a88a (patch) | |
tree | 336d86b6558d4018094a0bd3e17d6b8d336bea27 /scripts/gdb/linux/stackdepot.py | |
parent | e651f2fae33634175fae956d896277cf916f5d09 (diff) |
clocksource/drivers/arm_global_timer: Simplify prescaler register access
Use GENMASK() to define the prescaler mask and make the whole driver use
the mask (together with helpers such as FIELD_{GET,PREP,FIT}) instead of
needing an additional shift and max value constant.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20240225151336.2728533-4-martin.blumenstingl@googlemail.com
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions