rtc: sirfsoc: move to regmap APIs from platform-specific APIs
commitdfe6c04aa289de06df95d888719af63d1d4c982d
authorGuo Zeng <guo.zeng@csr.com>
Tue, 14 Jul 2015 01:31:38 +0000 (14 01:31 +0000)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:06 +0000 (5 13:19 +0200)
tree01c4ea1188f799b8c9c5158bd39666781dd2c0ea
parentf4a2eecb3ff9f51b179b213e7cc3766f920f2dc5
rtc: sirfsoc: move to regmap APIs from platform-specific APIs

The current codes use CSR platform specific API exported by machine
codes to read/write RTC registers. they are:
sirfsoc_rtc_iobrg_readl()
sirfsoc_rtc_iobrg_writel()

commit b1999477ed91 ("ARM: prima2: move to use REGMAP APIs for rtciobrg")
moves to regmap support, now we can move to use regmap APIs in RTC
driver.

Signed-off-by: Guo Zeng <guo.zeng@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-sirfsoc.c