summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mxs
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-29 00:02:41 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-05-09 00:02:43 +0800
commit50260924afd4b745bfb6e5f1caee381a1875fc31 (patch)
tree29c1908a66df3d3ea498e4941ee08d4c8af082bd /drivers/clk/mxs
parent5da301a2056529cc5366f21d4325b96052d9cad1 (diff)
ARM: mxs: remove now unused timer_clk argument from mxs_timer_init
With old mxs clock support removed, the timer_clk argument of mxs_timer_init is unused now, so remove it. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'drivers/clk/mxs')
-rw-r--r--drivers/clk/mxs/clk-imx23.c2
-rw-r--r--drivers/clk/mxs/clk-imx28.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/mxs/clk-imx23.c b/drivers/clk/mxs/clk-imx23.c
index 2ec76ff4697..dcae1128571 100644
--- a/drivers/clk/mxs/clk-imx23.c
+++ b/drivers/clk/mxs/clk-imx23.c
@@ -198,7 +198,7 @@ int __init mx23_clocks_init(void)
for (i = 0; i < ARRAY_SIZE(clks_init_on); i++)
clk_prepare_enable(clks[clks_init_on[i]]);
- mxs_timer_init(NULL, MX23_INT_TIMER0);
+ mxs_timer_init(MX23_INT_TIMER0);
return 0;
}
diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c
index 4bfd1f4a873..b2a3257d4f6 100644
--- a/drivers/clk/mxs/clk-imx28.c
+++ b/drivers/clk/mxs/clk-imx28.c
@@ -331,7 +331,7 @@ int __init mx28_clocks_init(void)
for (i = 0; i < ARRAY_SIZE(clks_init_on); i++)
clk_prepare_enable(clks[clks_init_on[i]]);
- mxs_timer_init(NULL, MX28_INT_TIMER0);
+ mxs_timer_init(MX28_INT_TIMER0);
return 0;
}