rtc: pm8xxx: use regmap API for register accesses
authorJosh Cartwright <joshc@codeaurora.org>
Thu, 3 Apr 2014 21:50:11 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:23 +0000 (16:21 -0700)
commit5d7dc4cf14da184fb7aca8f298e9667746e9f980
tree03fc077ac488dfd5ae1beb52e392f126205b2518
parent5bed811d668ca042b5ee711e27a3c4496179145c
rtc: pm8xxx: use regmap API for register accesses

Now that the parent mfd driver has been made to work again, and has been
reworked to create a regmap instance intended for its children to use,
rework the pm8xxx driver to use the regmap API for its register
accesses.

Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pm8xxx.c