rtc: stmp3xxx: unify register access macros
authorHarald Geyer <harald@ccbib.org>
Fri, 2 Oct 2015 20:18:01 +0000 (20:18 +0000)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 8 Nov 2015 13:12:27 +0000 (14:12 +0100)
commit24417829936d82b03b156e0d036c3b8f25aa93fd
tree2757fc573e80946016aada3ebfddecf68100d1b0
parentce006ca6d3158466f7d4b32736b8d9c70fd11526
rtc: stmp3xxx: unify register access macros

Use STMP_OFFSET_REG_(SET|CLR) instead of defining _SET and _CLR for
STMP3XXX_RTC_CTRL and STMP3XXX_RTC_PERSISTENT0 - no functional changes.

Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-stmp3xxx.c