diff options
author | Paul Cercueil <paul@crapouillou.net> | 2022-10-24 23:52:13 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-11-29 15:06:47 +0300 |
commit | 7d9199995412fd30ea79e24d6c29f04a9b5d49ee (patch) | |
tree | 02a740cfdd8eddebb7bae5b65b75540a2be3d951 /drivers/pwm/pwm-visconti.c | |
parent | 69ba53dac3b16a3b0aa65e7817901e67bc554b32 (diff) | |
download | linux-7d9199995412fd30ea79e24d6c29f04a9b5d49ee.tar.xz |
pwm: jz4740: Use regmap_{set,clear}_bits
Simplify a bit the code by using regmap_set_bits() and
regmap_clear_bits() instead of regmap_update_bits() when possible.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-visconti.c')
0 files changed, 0 insertions, 0 deletions