aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2022-07-19 11:46:37 +0200
committerStephen Boyd <sboyd@kernel.org>2022-09-30 17:02:45 -0700
commit01874fb2a3e60365d9cc68cd931ac9ad6e90025a (patch)
tree7c3b4a7f176ae8ea57cfd82693eb0c60a5cb7380 /lib/mpi/mpi-sub-ui.c
parentcc3237827a21ca6fe29085a78f96b0509cf6d095 (diff)
clk: vc5: Use regmap_{set,clear}_bits() where appropriate
regmap_set_bits() and regmap_clear_bits() are variations of regmap_update_bits() that can be used if all bits of the mask have to be set to either 1 or 0 respectively. Update the versaclk driver to use regmap_set_bits() and regmap_clear_bits() where appropriate. This results in slightly more compact code and also makes the intention of the code clearer which can help with review. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Link: https://lore.kernel.org/r/20220719094637.844946-2-lars@metafoo.de Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions