aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2022-12-02 18:35:15 +0000
committerThierry Reding <[email protected]>2022-12-06 11:46:09 +0000
commit50f2151034b65125b6cce6b385ce8b74556e45f6 (patch)
treeee70b39cb73e5d5d5ed21db0cdb8d1fcb5108ff3 /drivers/pwm/pwm-stm32.c
parentpwm: fsl-ftm: Use regmap_clear_bits and regmap_set_bits where applicable (diff)
downloadkernel-50f2151034b65125b6cce6b385ce8b74556e45f6.tar.gz
kernel-50f2151034b65125b6cce6b385ce8b74556e45f6.zip
pwm: img: 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) 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 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions