]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
omap2 clock: remove superfluous omap2_propagate_rate()
authorPaul Walmsley <paul@pwsan.com>
Mon, 27 Aug 2007 08:39:00 +0000 (02:39 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 31 Aug 2007 17:46:22 +0000 (10:46 -0700)
commitc6c918bd20163dcfa10d391c174621e86af0a993
tree4e9f3f7daaef8fa8d16457b7e20b54bc5883bbb1
parent01f7dce29aebac8ff9330d239b015c06559d8cef
omap2 clock: remove superfluous omap2_propagate_rate()

omap2_propagate_rate() seems completely superfluous.  It handles two
cases.  The first case is for non-fixed rate clocks.  It assigns the
parent's rate to the clock, and continues propagating the rate
downwards.  This can be handled by adding a RATE_PROPAGATES clock flag
to the clock, if it wasn't there already, and by using
followparent_recalc() directly as the recalc function.  The second
case is for fixed rate clocks.  Here all we need to do is to call
propagate_rate() directly, so, use that for the recalc function.

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