diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-12-02 21:35:14 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-12-06 14:46:08 +0300 |
commit | c637d87a7d96bd04674515b879b500f66361b74c (patch) | |
tree | 41847c83e53082f47fc67c5e2c3cc8ee0e13f93a /lib/refcount.c | |
parent | 55f363e19cb8ca65400eeb11d716519609fbeae6 (diff) | |
download | linux-c637d87a7d96bd04674515b879b500f66361b74c.tar.xz |
pwm: fsl-ftm: 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/20221115111347.3705732-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'lib/refcount.c')
0 files changed, 0 insertions, 0 deletions