OSDN Git Service

rtc: rv3029: remove open coded regmap_update_bits
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 14 Dec 2019 22:10:09 +0000 (23:10 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 18 Dec 2019 09:37:51 +0000 (10:37 +0100)
commit609e97fe31a4d1acf7bc0411277e43a4de13db44
tree96409160959f4b4645edfbf7aac12ba321d5099f
parentc509e4344bc0e2505a635ee8ac948298c7f21127
rtc: rv3029: remove open coded regmap_update_bits

rv3029_update_bits open codes regmap_update_bits and forgets to properly
lock the register range while doing so. Use regmap_update_bits instead.

Link: https://lore.kernel.org/r/20191214221022.622482-4-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rv3029c2.c