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)
commitb1999477ed91c3c33891acfe0e18a4457e5c4915
tree661fc74131973dee81706ae2fc4e3b44832e8a4c
parentb787f68c36d49bb1d9236f403813641efa74a031
ARM: prima2: move to use REGMAP APIs for rtciobrg

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