aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/clock.c
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-01-26 22:12:57 -0500
committerPaul Walmsley <paul@pwsan.com>2010-01-26 22:12:57 -0500
commit0dfc242ff05fcc4bbef1e1bf4eed6f7d01e0cb44 (patch)
treeb58a753d64c6c2323297b73bb1997e07fd1af2ed /arch/arm/mach-omap1/clock.c
parente9b98f6040f5a7a04d659759d83ea28d9c528800 (diff)
OMAP1 clock: convert armwdt_ck to use the fixed divisor recalc function
The armwdt_ck clock uses a fixed divisor, so it can use the OMAP clock fixed divisor recalculation code, rather than a custom function. Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap1/clock.c')
-rw-r--r--arch/arm/mach-omap1/clock.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap1/clock.c b/arch/arm/mach-omap1/clock.c
index 04f1d29cba2c..3e052f6532b1 100644
--- a/arch/arm/mach-omap1/clock.c
+++ b/arch/arm/mach-omap1/clock.c
@@ -52,12 +52,6 @@ const struct clkops clkops_dummy = {
52 .disable = clk_omap1_dummy_disable, 52 .disable = clk_omap1_dummy_disable,
53}; 53};
54 54
55/* XXX can be replaced with a fixed_divisor_recalc */
56unsigned long omap1_watchdog_recalc(struct clk *clk)
57{
58 return clk->parent->rate / 14;
59}
60
61unsigned long omap1_uart_recalc(struct clk *clk) 55unsigned long omap1_uart_recalc(struct clk *clk)
62{ 56{
63 unsigned int val = __raw_readl(clk->enable_reg); 57 unsigned int val = __raw_readl(clk->enable_reg);