summaryrefslogtreecommitdiff
path: root/drivers/sh/clk-cpg.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-10-13 07:44:36 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-10-13 19:23:05 +0900
commit69395396a0a8866f30d59c66b7be1912ccb5d160 (patch)
tree7301583a4abbf99bae5c678af87c01a312d1c8f1 /drivers/sh/clk-cpg.c
parent1ffbb037d8e81ba4f09901451b39c8f178b05559 (diff)
downloadlwn-69395396a0a8866f30d59c66b7be1912ccb5d160.tar.gz
lwn-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);