]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
omap2 clock: separate clksel set_rate code into its own function
authorPaul Walmsley <paul@pwsan.com>
Mon, 27 Aug 2007 08:39:14 +0000 (02:39 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 31 Aug 2007 18:13:08 +0000 (11:13 -0700)
commit9aec89a139685d4c095afc61dfc3b9388a473243
treee6239fc04716f9bf12000578638f4168b989e71c
parent7d1aa149839f587ef39bbc33a0e406913f589d6a
omap2 clock: separate clksel set_rate code into its own function

Simplify omap2_clk_set_rate() by separating out the clksel set_rate code into
its own function, omap2_clksel_set_rate().  Clksel clocks use this function
by placing its function pointer in their .set_rate fields.  Convert
existing clksel clocks accordingly.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h