You need to sign in or sign up before continuing.
-
Lars-Peter Clausen authored
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>
01874fb2