rtc: max31335: use regmap_update_bits_check
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 15 Jan 2024 23:22:14 +0000 (00:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 17 Jan 2024 23:56:46 +0000 (00:56 +0100)
commitb7d450d98b0f9917cac31b39ba459a4aee26c8b1
tree8d1a0e758af9d864049e7c9fafcdd2d4bb6925cb
parent590b1d19d73914477cfd9faac7a0d7dcf5b4eb08
rtc: max31335: use regmap_update_bits_check

Simplify the IRQ handler by using regmap_update_bits_check.

Reviewed-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://lore.kernel.org/r/20240115232215.273374-2-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-max31335.c