diff options
author | Sai Charan Gurrappadi <sgurrappadi@nvidia.com> | 2012-07-05 10:59:01 -0700 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-07-11 06:36:02 -0700 |
commit | abd43443f75b2eb2990de6711dacc97cea887ca9 (patch) | |
tree | 0a30840d81ccbf2e6445e4d6ac4221d8d864b40f /arch/arm/mach-tegra/cpuquiet.c | |
parent | e3b310b456ab347e5e77aa9aa4ada9ac2f899e39 (diff) |
ARM: tegra: Remove duplicate clock inits
Change-Id: I80c384d1aa4b1e45a4542acbde6b904f4a014aff
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/113679
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'arch/arm/mach-tegra/cpuquiet.c')
-rw-r--r-- | arch/arm/mach-tegra/cpuquiet.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/cpuquiet.c b/arch/arm/mach-tegra/cpuquiet.c index f0163e1f3fc3..26adce230920 100644 --- a/arch/arm/mach-tegra/cpuquiet.c +++ b/arch/arm/mach-tegra/cpuquiet.c @@ -388,13 +388,6 @@ int tegra_auto_hotplug_init(struct mutex *cpu_lock) INIT_DELAYED_WORK(&cpuquiet_work, tegra_cpuquiet_work_func); INIT_WORK(&minmax_work, min_max_constraints_workfunc); - cpu_clk = clk_get_sys(NULL, "cpu"); - cpu_g_clk = clk_get_sys(NULL, "cpu_g"); - cpu_lp_clk = clk_get_sys(NULL, "cpu_lp"); - - if (IS_ERR(cpu_clk) || IS_ERR(cpu_g_clk) || IS_ERR(cpu_lp_clk)) - return -ENOENT; - idle_top_freq = clk_get_max_rate(cpu_lp_clk) / 1000; idle_bottom_freq = clk_get_min_rate(cpu_g_clk) / 1000; |