diff options
author | Colin Cross <ccross@android.com> | 2011-02-21 10:35:07 +0300 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-02-21 11:10:46 +0300 |
commit | 4db4afb4df93425708ca19417921bcc6a6306476 (patch) | |
tree | d7b8fa3dd85d7b9407329f02fa07ba366b491293 /arch/arm/mach-tegra/clock.c | |
parent | 310992ca4b994db8c869e1c0f32c004b7a196147 (diff) | |
download | linux-4db4afb4df93425708ca19417921bcc6a6306476.tar.xz |
ARM: tegra: clock: Minor cleanups
Remove unnecessary uses of #ifdef CONFIG_DEBUG_FS
Convert bool assignments from 1 to true
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/clock.c')
-rw-r--r-- | arch/arm/mach-tegra/clock.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c index aff4c5b8c378..f1f9c6d36bd2 100644 --- a/arch/arm/mach-tegra/clock.c +++ b/arch/arm/mach-tegra/clock.c @@ -135,7 +135,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 @@ -169,9 +169,7 @@ int clk_enable(struct clk *c) goto out; } c->state = ON; -#ifdef CONFIG_DEBUG_FS - c->set = 1; -#endif + c->set = true; } } c->refcnt++; |