diff options
| author | 2024-02-25 16:13:36 +0100 | |
|---|---|---|
| committer | 2024-02-26 10:07:25 +0100 | |
| commit | 755350bcfb4ac8cbbb62bd7ee6be8271d4b2a88a (patch) | |
| tree | 336d86b6558d4018094a0bd3e17d6b8d336bea27 /scripts/gdb/linux/utils.py | |
| parent | clocksource/drivers/arm_global_timer: Guard against division by zero (diff) | |
| download | wireguard-linux-755350bcfb4ac8cbbb62bd7ee6be8271d4b2a88a.tar.xz wireguard-linux-755350bcfb4ac8cbbb62bd7ee6be8271d4b2a88a.zip | |
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 '')
0 files changed, 0 insertions, 0 deletions
