Skip to content
Commit 6468e3b1 authored by Russell King's avatar Russell King Committed by Paul Walmsley
Browse files

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent 883edfdd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment