diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-02-23 06:09:19 +0100 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-02-24 20:16:13 +0100 |
commit | b92c170d019db7554db95380d2e1dfb3a368e350 (patch) | |
tree | 2ab2743375335d56683b83cea48876eb37a43b81 /arch/arm/plat-omap | |
parent | OMAP clock: compress clock flags down to a u8 (diff) | |
download | linux-b92c170d019db7554db95380d2e1dfb3a368e350.tar.xz linux-b92c170d019db7554db95380d2e1dfb3a368e350.zip |
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.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/clock.h | 1 |
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) char *p = s; p += sprintf(p, "%s", c->name); - if (c->id != 0) - sprintf(p, ":%d", c->id); d = debugfs_create_dir(s, pa ? pa->dent : clk_debugfs_root); if (!d) 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 { struct list_head node; const struct clkops *ops; const char *name; - int id; struct clk *parent; struct list_head children; struct list_head sibling; /* node for children */ |