aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-02-23 00:09:19 -0500
committerPaul Walmsley <paul@pwsan.com>2010-02-24 14:16:13 -0500
commitb92c170d019db7554db95380d2e1dfb3a368e350 (patch)
tree2ab2743375335d56683b83cea48876eb37a43b81 /arch/arm/plat-omap
parentf71eddb1582f5c53ed4bfc365a2acce94aca88cc (diff)
OMAP clock: drop .id field; ensure each clock has a unique name
After the clkdev conversion, the struct clk.id field became superfluous, so, drop it. Bring the clock names closer to the TRMs and ensure they are unique for debugfs. Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r--arch/arm/plat-omap/clock.c2
-rw-r--r--arch/arm/plat-omap/include/plat/clock.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c
index e3b58afa5dcf..f244b172f9e1 100644
--- a/arch/arm/plat-omap/clock.c
+++ b/arch/arm/plat-omap/clock.c
@@ -408,8 +408,6 @@ static int clk_debugfs_register_one(struct clk *c)
408 char *p = s; 408 char *p = s;
409 409
410 p += sprintf(p, "%s", c->name); 410 p += sprintf(p, "%s", c->name);
411 if (c->id != 0)
412 sprintf(p, ":%d", c->id);
413 d = debugfs_create_dir(s, pa ? pa->dent : clk_debugfs_root); 411 d = debugfs_create_dir(s, pa ? pa->dent : clk_debugfs_root);
414 if (!d) 412 if (!d)
415 return -ENOMEM; 413 return -ENOMEM;
diff --git a/arch/arm/plat-omap/include/plat/clock.h b/arch/arm/plat-omap/include/plat/clock.h
index 474c21e40eab..bbaba1b64a8a 100644
--- a/arch/arm/plat-omap/include/plat/clock.h
+++ b/arch/arm/plat-omap/include/plat/clock.h
@@ -120,7 +120,6 @@ struct clk {
120 struct list_head node; 120 struct list_head node;
121 const struct clkops *ops; 121 const struct clkops *ops;
122 const char *name; 122 const char *name;
123 int id;
124 struct clk *parent; 123 struct clk *parent;
125 struct list_head children; 124 struct list_head children;
126 struct list_head sibling; /* node for children */ 125 struct list_head sibling; /* node for children */