ARM: prima2: move to use REGMAP APIs for rtciobrg
authorGuo Zeng <Guo.Zeng@csr.com>
Tue, 14 Apr 2015 11:55:55 +0000 (11:55 +0000)
committerBarry Song <Baohua.Song@csr.com>
Wed, 10 Jun 2015 07:10:26 +0000 (15:10 +0800)
all devices behind rtciobrg needs a special way to access. currently they
are using a platform-specific API.
this patch moves to REGMAP, then clients can use regmap APIs to read/write.
for the moment, old APIs are still kept, once all clients move to regmap,
old APIs will be dropped.

this patch also does minor clean for comments, authors statement.

Signed-off-by: Guo Zeng <Guo.Zeng@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
arch/arm/mach-prima2/Kconfig
arch/arm/mach-prima2/rtciobrg.c
include/linux/rtc/sirfsoc_rtciobrg.h

index e03d8b5..9ab8932 100644 (file)
@@ -4,6 +4,7 @@ menuconfig ARCH_SIRF
        select ARCH_REQUIRE_GPIOLIB
        select GENERIC_IRQ_CHIP
        select NO_IOPORT_MAP
+       select REGMAP
        select PINCTRL
        select PINCTRL_SIRF
        help
Simple merge
Simple merge