Re: [PATCH 5/5] pwm: jz4740: Use regmap_{set,clear}_bits

From: Philippe Mathieu-Daudé
Date: Tue Oct 25 2022 - 06:46:13 EST


On 24/10/22 22:52, Paul Cercueil wrote:
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@xxxxxxxxxxxxxxx>
---
drivers/pwm/pwm-jz4740.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>