omap2 clock: convert omap2_clksel_to_divisor and omap2_divisor_to_clksel to use new...
authorPaul Walmsley <paul@pwsan.com>
Mon, 27 Aug 2007 08:39:04 +0000 (02:39 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 31 Aug 2007 18:10:10 +0000 (11:10 -0700)
Convert omap2_clksel_to_divisor() and omap2_divisor_to_clksel() to use
the new struct clksel and struct clksel_rate data.  Add
omap2_get_clksel_by_parent() utility code, called by both functions,
to return the appropriate struct clksel for a given (struct clk, parent
struct clk) combination.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found