summaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-core.c
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2024-02-25 18:13:36 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-02-26 12:07:25 +0300
commit755350bcfb4ac8cbbb62bd7ee6be8271d4b2a88a (patch)
tree336d86b6558d4018094a0bd3e17d6b8d336bea27 /drivers/fpga/xilinx-core.c
parente651f2fae33634175fae956d896277cf916f5d09 (diff)
downloadlinux-755350bcfb4ac8cbbb62bd7ee6be8271d4b2a88a.tar.xz
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 'drivers/fpga/xilinx-core.c')
0 files changed, 0 insertions, 0 deletions