aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/clock.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-20 10:58:50 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-24 03:01:48 -0500
commit5080e9c981473cd3e5d1571ff8d6dc39ba2777b1 (patch)
treeb8f074bed556a44544b2fb168d5b6d3d57c7e605 /arch/arm/mach-mxs/clock.c
parent34d80730c30fa37740cb43bb0eec62352df3a7c6 (diff)
ARM i.MX23/28: remove secondary field from struct clk. It's unused
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-mxs/clock.c')
-rw-r--r--arch/arm/mach-mxs/clock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-mxs/clock.c b/arch/arm/mach-mxs/clock.c
index e7d2269cf70e..a7093c88e6a6 100644
--- a/arch/arm/mach-mxs/clock.c
+++ b/arch/arm/mach-mxs/clock.c
@@ -57,7 +57,6 @@ static void __clk_disable(struct clk *clk)
57 if (clk->disable) 57 if (clk->disable)
58 clk->disable(clk); 58 clk->disable(clk);
59 __clk_disable(clk->parent); 59 __clk_disable(clk->parent);
60 __clk_disable(clk->secondary);
61 } 60 }
62} 61}
63 62
@@ -68,7 +67,6 @@ static int __clk_enable(struct clk *clk)
68 67
69 if (clk->usecount++ == 0) { 68 if (clk->usecount++ == 0) {
70 __clk_enable(clk->parent); 69 __clk_enable(clk->parent);
71 __clk_enable(clk->secondary);
72 70
73 if (clk->enable) 71 if (clk->enable)
74 clk->enable(clk); 72 clk->enable(clk);