rtc: pm8xxx: use regmap_update_bits()
authorJohan Hovold <johan+linaro@kernel.org>
Thu, 2 Feb 2023 15:54:29 +0000 (16:54 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 9 Feb 2023 22:17:56 +0000 (23:17 +0100)
commit182c23bbfea3713206b0da3fbbb7350e197a92dd
tree3adf9f031cf2d4840850c13778c89c6f96c3eab8
parenteb245631836b4843199d7176d1597759dda4ee9e
rtc: pm8xxx: use regmap_update_bits()

Switch to using regmap_update_bits() instead of open coding
read-modify-write accesses.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: David Collins <quic_collinsd@quicinc.com>
Link: https://lore.kernel.org/r/20230202155448.6715-4-johan+linaro@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pm8xxx.c