rtc: stmp3xxx: Get rid of mach-specific accessors
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 25 May 2011 10:56:52 +0000 (12:56 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Sat, 2 Jul 2011 01:09:56 +0000 (18:09 -0700)
commitb5167159d4341d408ef6b941975f2fe8973b2a94
treee5424d893af19f51bdd6dbb8167c68c7eab36e04
parenta91d2bab355f3a5caa767d7316f80422bfcd2ad6
rtc: stmp3xxx: Get rid of mach-specific accessors

Replace the accessors with standard readl/writel to remove their
platform-dependency. Also, drop __raw_(read|write)l-accessors while we
are here.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/rtc/rtc-stmp3xxx.c