summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/clock.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-10-25 14:15:44 -0700
committerColin Cross <ccross@android.com>2010-10-25 15:06:14 -0700
commitf729366c1750362c015649f90dbde555a4cdda03 (patch)
treede0da2cad78248c809ea19fe78b0683aead46eb1 /arch/arm/mach-tegra/clock.c
parent348d21313d436a81f373282e670d698d474c5a01 (diff)
ARM: tegra: clock: Remove dependency between "set" and debugfs
Change-Id: I732f9428096d057e08092120c6f8c2890230a242
Diffstat (limited to 'arch/arm/mach-tegra/clock.c')
-rw-r--r--arch/arm/mach-tegra/clock.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c
index 09b5993c5513..d34f0efbdd37 100644
--- a/arch/arm/mach-tegra/clock.c
+++ b/arch/arm/mach-tegra/clock.c
@@ -138,7 +138,7 @@ void clk_init(struct clk *c)
if (!c->ops || !c->ops->enable) {
c->refcnt++;
- c->set = 1;
+ c->set = true;
if (c->parent)
c->state = c->parent->state;
else
@@ -174,9 +174,7 @@ int clk_enable_locked(struct clk *c)
return ret;
}
c->state = ON;
-#ifdef CONFIG_DEBUG_FS
- c->set = 1;
-#endif
+ c->set = true;
}
}
c->refcnt++;