[ARM] omap: handle RATE_CKCTL via .set_rate/.round_rate methods
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 8 Feb 2009 16:07:46 +0000 (16:07 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:11 +0000 (17:50 +0000)
commitd5e6072b753041b56236b014ccfd72a0d3177e08
tree9e922b16f7c84c063977d22c71385239fbd4e5c2
parent9a5fedac187f30116013a8420149d4ca11a44f0d
[ARM] omap: handle RATE_CKCTL via .set_rate/.round_rate methods

It makes no sense to have the CKCTL rate selection implemented as a flag
and a special exception in the top level set_rate/round_rate methods.
Provide CKCTL set_rate/round_rate methods, and use these for where ever
RATE_CKCTL is used and they're not already overridden.  This allows us
to remove the RATE_CKCTL flag.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap1/clock.c
arch/arm/mach-omap1/clock.h
arch/arm/plat-omap/include/mach/clock.h