sh: use shared frequency tables on sh7785
commitdf109e630f82de63ec82eebbfec2a57852517f28
authorMagnus Damm <damm@igel.co.jp>
Mon, 25 May 2009 08:10:36 +0000 (25 08:10 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 26 May 2009 08:08:42 +0000 (26 17:08 +0900)
tree5b181c7bb7cfc2b3ab408f95d2f6f124ae1cd07b
parentc94a85746f7bdc13035acdf88c130d7b6fa41bde
sh: use shared frequency tables on sh7785

This patch converts the sh7785 clock code to make use
of clk_rate_table_build() and clk_rate_table_round().
The ->build_rate_table() callback is removed, the
table building is instead handled in ->recalc().

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/clock-sh7785.c