]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ef203c926f65386b3e631718b8434832e4e00de
treee5424d893af19f51bdd6dbb8167c68c7eab36e04
parent923a160c1497182d3b3e2c93a580e1e7f44c071f
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