commit | e48585dec2bd0183436437995e30d20dfa92f6aa | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Mon Jun 05 17:57:33 2017 +0200 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Thu Jul 06 22:37:08 2017 +0200 |
tree | 5b478c380ab2b6e549fb836d683651f44181a291 | |
parent | 078f3f6452c8be74fd406733f99f2cb0d9c50efc [diff] |
rtc: ds1307: factor out century bit handling The driver has lots of places with chip-specific code what doesn't necessarily facilitate maintenance. Let's describe chip-specific differences in century bit handling in struct chip_desc to improve this. 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>