summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-04-28 18:02:41 +0200
committerShawn Guo <shawn.guo@linaro.org>2012-05-08 18:02:43 +0200
commit50260924afd4b745bfb6e5f1caee381a1875fc31 (patch)
tree29c1908a66df3d3ea498e4941ee08d4c8af082bd /drivers
parentARM: mxs: remove old clock support (diff)
downloadlinux-50260924afd4b745bfb6e5f1caee381a1875fc31.tar.xz
linux-50260924afd4b745bfb6e5f1caee381a1875fc31.zip
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')
-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 2ec76ff46971..dcae11285716 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 4bfd1f4a8736..b2a3257d4f66 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;
}