OMAP3: clock: Remove unnecessarily .init initializers from OMAP3 clocks
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 20 Jan 2010 00:30:52 +0000 (17:30 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 20 Jan 2010 00:30:52 +0000 (17:30 -0700)
commit6468e3b18777ecfffa6738e365896be9f17403f2
tree0c8323159c431d60b9397a594a14e375ba3da429
parent883edfdd58419b0cc298db14ba25c26d55c6d1af
OMAP3: clock: Remove unnecessarily .init initializers from OMAP3 clocks

The first thing that omap2_init_clksel_parent() does is check for
a non-zero .clksel field in the struct clk.  Therefore, it is
pointless calling this function on clocks where the clksel field
is unset.

Remove init calls to omap2_init_clksel_parent() on clocks without
a clksel field.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock34xx_data.c