diff options
author | Colin Cross <ccross@android.com> | 2011-02-21 08:35:07 +0100 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-02-21 09:10:46 +0100 |
commit | 4db4afb4df93425708ca19417921bcc6a6306476 (patch) | |
tree | d7b8fa3dd85d7b9407329f02fa07ba366b491293 /arch/arm/mach-tegra/tegra2_clocks.c | |
parent | ARM: tegra: clock: Add shared bus clock type (diff) | |
download | linux-4db4afb4df93425708ca19417921bcc6a6306476.tar.xz linux-4db4afb4df93425708ca19417921bcc6a6306476.zip |
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/tegra2_clocks.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra2_clocks.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/tegra2_clocks.c b/arch/arm/mach-tegra/tegra2_clocks.c index 1e414ba6df4b..f6f685c4f339 100644 --- a/arch/arm/mach-tegra/tegra2_clocks.c +++ b/arch/arm/mach-tegra/tegra2_clocks.c @@ -1218,9 +1218,7 @@ static void tegra_clk_shared_bus_init(struct clk *c) c->max_rate = c->parent->max_rate; c->u.shared_bus_user.rate = c->parent->max_rate; c->state = OFF; -#ifdef CONFIG_DEBUG_FS c->set = true; -#endif spin_lock_irqsave(&c->parent->spinlock, flags); |