]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit684cb7880973b78384e5d60870e935bebe1e046f
tree2757fc573e80946016aada3ebfddecf68100d1b0
parent74f85756e5d6f5e750fe3ff486ebb9dfb3290d58
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