aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2022-12-02 19:35:17 +0100
committerThierry Reding <[email protected]>2022-12-06 12:46:10 +0100
commit85cad49f5ed269ffa0c80081d6506e39fa78456b (patch)
tree82b5718a0e5bcd6dcaf00e968f548a04b6ee8012 /lib/mpi/mpiutil.c
parent2c85895bf3d202f6932598b124d0db2be4278999 (diff)
pwm: stm32-lp: Use regmap_clear_bits and regmap_set_bits where applicable
Found using coccinelle and the following semantic patch: @@ expression map, reg, bits; @@ - regmap_update_bits(map, reg, bits, bits) + regmap_set_bits(map, reg, bits) @@ expression map, reg, bits; @@ - regmap_update_bits(map, reg, bits, 0) + regmap_clear_bits(map, reg, bits) Tested-by: Fabrice Gasnier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions