sh: use ioread32/iowrite32 and mapped_reg for div6
authorMagnus Damm <damm@opensource.se>
Thu, 8 Dec 2011 13:59:22 +0000 (22:59 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 9 Dec 2011 09:04:14 +0000 (18:04 +0900)
commit2dacb97d9269e303ed761937a0e9db8711515e08
tree1a26c9587b2008d4bd146ef32bdf36e42a0d6772
parent0e027376f896e5dda293ffc8e6e7332d26d2ffc4
sh: use ioread32/iowrite32 and mapped_reg for div6

Convert the CPG DIV6 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