]> 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)
commit8f1a118fc1e72d7f4c89ac3a8569b582df372989
tree2757fc573e80946016aada3ebfddecf68100d1b0
parentd3832d7029e76cf70c4a889881994c2892736da4
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