]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: sirfsoc: move to regmap APIs from platform-specific APIs
authorGuo Zeng <guo.zeng@csr.com>
Tue, 14 Jul 2015 01:31:38 +0000 (01:31 +0000)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:06 +0000 (13:19 +0200)
commit251462f927615f4fe43df1b91adc1e476936c009
tree01c4ea1188f799b8c9c5158bd39666781dd2c0ea
parent5abcc3e4516b86ae20b9804f88e35a8160c0be05
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 abd98720462a ("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