]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc250247057c33699e8d499d3c02af6787cb56506
tree68bccefc767ca5b2c5da3b0735c4c4ebbdf11743
parent8fe48194953f85b549da56a3a3decd6852ef7a09
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