summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/clock.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-20 16:58:50 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-24 09:01:48 +0100
commit5080e9c981473cd3e5d1571ff8d6dc39ba2777b1 (patch)
treeb8f074bed556a44544b2fb168d5b6d3d57c7e605 /arch/arm/mach-mxs/clock.c
parentARM i.MX28: use correct register for setting the rate (diff)
downloadlinux-5080e9c981473cd3e5d1571ff8d6dc39ba2777b1.tar.xz
linux-5080e9c981473cd3e5d1571ff8d6dc39ba2777b1.zip
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)
if (clk->disable)
clk->disable(clk);
__clk_disable(clk->parent);
- __clk_disable(clk->secondary);
}
}
@@ -68,7 +67,6 @@ static int __clk_enable(struct clk *clk)
if (clk->usecount++ == 0) {
__clk_enable(clk->parent);
- __clk_enable(clk->secondary);
if (clk->enable)
clk->enable(clk);