sh: use ioread32/iowrite32 and mapped_reg for div4
authorMagnus Damm <damm@opensource.se>
Thu, 8 Dec 2011 13:59:13 +0000 (22:59 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 9 Dec 2011 09:01:07 +0000 (18:01 +0900)
commit0e027376f896e5dda293ffc8e6e7332d26d2ffc4
treea3429e8b63645f4ffd406218fe15b4d52feb60a3
parentb3ab82b3eb191ad2cd8110cb5de0afb790337000
sh: use ioread32/iowrite32 and mapped_reg for div4

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