[ARM] omap: create a proper tree of clocks
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 31 Jan 2009 10:05:51 +0000 (10:05 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:42 +0000 (17:50 +0000)
Traditionally, we've tracked the parent/child relationships between
clk structures by setting the child's parent member to point at the
upstream clock.  As a result, when decending the tree, we have had
to scan all clocks to find the children.

Avoid this wasteful scanning by keeping a list of the clock's children.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found