sh: clkfwk: Tidy up on-chip clock registration and rate propagation.
commitf5c84cf50812c80133e64683d0500b2416d55cb3
authorPaul Mundt <lethal@linux-sh.org>
Mon, 11 May 2009 20:59:27 +0000 (12 05:59 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 May 2009 20:59:27 +0000 (12 05:59 +0900)
treeeb116c797a5b56d96deeca62f5122d0de197f601
parentaa87aa343f2cd236b5eccd643abd4df918ed5c4f
sh: clkfwk: Tidy up on-chip clock registration and rate propagation.

This tidies up the set_rate hack that the on-chip clocks were abusing to
trigger rate propagation, which is now handled generically.

Additionally, now that CLK_ENABLE_ON_INIT is wired up where it needs to
be for these clocks, the clk_enable() can go away. In some cases this was
bumping up the refcount higher than it should have been.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4/clock-sh4-202.c
arch/sh/kernel/cpu/sh4a/clock-sh7763.c
arch/sh/kernel/cpu/sh4a/clock-sh7780.c
arch/sh/kernel/cpu/sh4a/clock-sh7785.c
arch/sh/kernel/cpu/sh4a/clock-sh7786.c
arch/sh/kernel/cpu/sh4a/clock-shx3.c