pwm: iqs620a: Replace one remaining instance of regmap_update_bits()
authorJeff LaBundy <jeff@labundy.com>
Mon, 6 Feb 2023 02:56:22 +0000 (20:56 -0600)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 17 Feb 2023 15:02:19 +0000 (16:02 +0100)
commit860793bbdcdfbeae684d552ce0121846cffc4803
tree6ac37932f39aeb1aab81e5ca187d185daf43ea42
parent327437884e9a752ccbf759cbab641439ca708f5b
pwm: iqs620a: Replace one remaining instance of regmap_update_bits()

The call to regmap_update_bits() which was responsible for clearing
the PWM output enable register bit was recently dropped in favor of
a call to regmap_clear_bits(), thereby simplifying the code.

Similarly, the call to regmap_update_bits() which sets the same bit
can be simplified with a call to regmap_set_bits().

Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-iqs620a.c