sh: clkfwk: Add a followparent_recalc() helper.
commita02cb230bb4fca04f091746c593de720a0e3a94a
authorPaul Mundt <lethal@linux-sh.org>
Mon, 11 May 2009 18:50:44 +0000 (12 03:50 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 May 2009 18:50:44 +0000 (12 03:50 +0900)
treeb492976b4a4ee701c93fa12882510ddd41e2a26c
parentb68d8201433a91cabbcbeae48b53d8c1c426433a
sh: clkfwk: Add a followparent_recalc() helper.

This adds a followparent_recalc() helper for clocks that just follow the
parent's rate. Switch over the few CPUs that use this scheme for some of
their clocks.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/clock.h
arch/sh/kernel/cpu/clock.c
arch/sh/kernel/cpu/sh2/clock-sh7619.c
arch/sh/kernel/cpu/sh2a/clock-sh7203.c
arch/sh/kernel/cpu/sh4a/clock-sh7722.c
arch/sh/kernel/cpu/sh4a/clock-sh7763.c