]> git.karo-electronics.de Git - karo-tx-linux.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>
Sat, 3 Oct 2015 15:24:08 +0000 (17:24 +0200)
commit0c155bd0c1791be957dbff893edaf1c56f685bc9
tree7b56885a5410304720b8acd072d9aaf6f2bcda23
parent79ccdcc922c1c3981fbe039cd4c1b51defa149ef
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