[PATCH v2 0/6] Provides bug fixes for rtc-mcp795.c

From: Emil Bartczak
Date: Wed Dec 07 2016 - 18:27:51 EST


This patchset provides 4 bug fixes (patch 1, 2, 3, 4), one
improvement (patch 5) and whitespace, indention errors fixes
(patch 6) in the file driver/rtc/rtc-mcp795.c.
Please review the changes and consider to apply them to the
main kernel tree.

Changes from v1:
- Introduced SoB to all patches.
- Patch which switches to bcd2bin/bin2bcd became as first now,
it also solved the shift problem presented in the previous patch 1.
- Added restoring EXTOSC bit to its previous value.
- All whitespace and indention fixes moved to the new patch 6.
- Added new patch which replaces all bitmask values with the
BIT(x) macro.

Emil Bartczak (6):
rtc: mcp795: use bcd2bin/bin2bcd.
rtc: mcp795: fix bitmask value for leap year (LP).
rtc: mcp795: fix time range difference between linux and RTC chip.
rtc: mcp795: fix month write resetting date to 1.
rtc: mcp795: Prefer using the BIT() macro.
rtc: mcp795: Fix whitespace and indentation.

drivers/rtc/rtc-mcp795.c | 122 ++++++++++++++++++++++++++++++++++++++---------
1 file changed, 100 insertions(+), 22 deletions(-)

--
2.7.4