diff options
| author | Uwe Kleine-König <[email protected]> | 2022-12-02 18:35:16 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2022-12-06 11:46:09 +0000 |
| commit | 2c85895bf3d202f6932598b124d0db2be4278999 (patch) | |
| tree | d8d80abde3da05c7c818f60052f2f218cfb7186a /drivers/pwm/pwm-stm32.c | |
| parent | pwm: img: Use regmap_clear_bits and regmap_set_bits where applicable (diff) | |
| download | kernel-2c85895bf3d202f6932598b124d0db2be4278999.tar.gz kernel-2c85895bf3d202f6932598b124d0db2be4278999.zip | |
pwm: iqs620a: 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
