sh: use ioread32/iowrite32 and mapped_reg for mstp32
authorMagnus Damm <damm@opensource.se>
Thu, 8 Dec 2011 13:59:03 +0000 (22:59 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 9 Dec 2011 09:01:06 +0000 (18:01 +0900)
commitb3ab82b3eb191ad2cd8110cb5de0afb790337000
treeef7af8476467d9b6d5a8218807916407afa743a3
parenteda2030a5b60bb818f062adacbcfb6fd2d366fb9
sh: use ioread32/iowrite32 and mapped_reg for mstp32

Convert the CPG MSTP32 helper code to use the new mapped_reg
together with ioread32() and iowrite32().

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/clk/cpg.c