rtc: rv3029: Add i2c register update-bits helper
authorMichael Büsch <m@bues.ch>
Fri, 4 Mar 2016 21:40:30 +0000 (22:40 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:33 +0000 (17:08 +0100)
commit2dca3d9e1440162a959d8b2942293bfc6ac14a19
tree6656f7d3c180ca6bcbd074f1d2d1bb6cbd32046f
parent7697de35faf02b5b04d1cb53e44cd42658610fe9
rtc: rv3029: Add i2c register update-bits helper

This simplifies mask/set operations on device I2C registers.

Signed-off-by: Michael Buesch <m@bues.ch>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-rv3029c2.c