rtc: ds1307: convert driver to regmap

This patch converts the ds1307 driver to using regmap. It's a rather
big patch and I can test with DS3231 only. With this chip it's
working fine.

I'd appreciate if people with other supported hardware could test as
well.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
Heiner Kallweit 2017-03-10 18:52:34 +01:00 committed by Alexandre Belloni
parent 2ea659a9ef
commit 11e5890b53
1 changed files with 220 additions and 381 deletions

File diff suppressed because it is too large Load Diff