Commit 5080e9c9 authored by Sascha Hauer's avatar Sascha Hauer

ARM i.MX23/28: remove secondary field from struct clk. It's unused

Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Acked-by: default avatarShawn Guo <shawn.guo@freescale.com>
parent 34d80730
...@@ -57,7 +57,6 @@ static void __clk_disable(struct clk *clk) ...@@ -57,7 +57,6 @@ static void __clk_disable(struct clk *clk)
if (clk->disable) if (clk->disable)
clk->disable(clk); clk->disable(clk);
__clk_disable(clk->parent); __clk_disable(clk->parent);
__clk_disable(clk->secondary);
} }
} }
...@@ -68,7 +67,6 @@ static int __clk_enable(struct clk *clk) ...@@ -68,7 +67,6 @@ static int __clk_enable(struct clk *clk)
if (clk->usecount++ == 0) { if (clk->usecount++ == 0) {
__clk_enable(clk->parent); __clk_enable(clk->parent);
__clk_enable(clk->secondary);
if (clk->enable) if (clk->enable)
clk->enable(clk); clk->enable(clk);
......
...@@ -29,8 +29,6 @@ struct clk { ...@@ -29,8 +29,6 @@ struct clk {
int id; int id;
/* Source clock this clk depends on */ /* Source clock this clk depends on */
struct clk *parent; struct clk *parent;
/* Secondary clock to enable/disable with this clock */
struct clk *secondary;
/* Reference count of clock enable/disable */ /* Reference count of clock enable/disable */
__s8 usecount; __s8 usecount;
/* Register bit position for clock's enable/disable control. */ /* Register bit position for clock's enable/disable control. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment