summaryrefslogtreecommitdiffstats
path: root/drivers/sh/clk-cpg.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-10-13 09:44:36 +0200
committerPaul Mundt <lethal@linux-sh.org>2010-10-13 12:23:05 +0200
commit69395396a0a8866f30d59c66b7be1912ccb5d160 (patch)
tree7301583a4abbf99bae5c678af87c01a312d1c8f1 /drivers/sh/clk-cpg.c
parentsh: free-without-alloc fix for sh_mobile_lcdcfb (diff)
downloadlinux-69395396a0a8866f30d59c66b7be1912ccb5d160.tar.xz
linux-69395396a0a8866f30d59c66b7be1912ccb5d160.zip
sh: remove name and id from struct clk
Remove "name" and "id" from drivers/sh/ struct clk. The struct clk members "name" and "id" are not used now when matching is done through clkdev. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/clk-cpg.c')
-rw-r--r--drivers/sh/clk-cpg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/sh/clk-cpg.c b/drivers/sh/clk-cpg.c
index 8c024b984ed8..392627be4544 100644
--- a/drivers/sh/clk-cpg.c
+++ b/drivers/sh/clk-cpg.c
@@ -180,7 +180,6 @@ static int __init sh_clk_div6_register_ops(struct clk *clks, int nr,
clkp = clks + k;
clkp->ops = ops;
- clkp->id = -1;
clkp->freq_table = freq_table + (k * freq_table_size);
clkp->freq_table[nr_divs].frequency = CPUFREQ_TABLE_END;
@@ -319,7 +318,6 @@ static int __init sh_clk_div4_register_ops(struct clk *clks, int nr,
clkp = clks + k;
clkp->ops = ops;
- clkp->id = -1;
clkp->priv = table;
clkp->freq_table = freq_table + (k * freq_table_size);