rtc: ds1307: use regmap_update_bits where applicable
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 5 Jun 2017 15:57:29 +0000 (17:57 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 5 Jul 2017 21:12:34 +0000 (23:12 +0200)
commit078f3f6452c8be74fd406733f99f2cb0d9c50efc
tree68bccefc767ca5b2c5da3b0735c4c4ebbdf11743
parentc4f07ecee22ec720936eb58e7c63b89a1e86bf32
rtc: ds1307: use regmap_update_bits where applicable

After the switch to regmap we can now make use of regmap_update_bits
to simplify read/modify/write ops.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-ds1307.c