diff options
-rw-r--r-- | drivers/cpufreq/tegra-cpufreq.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/cpufreq/tegra-cpufreq.c b/drivers/cpufreq/tegra-cpufreq.c index 63f00598a251..6e774c6ac20b 100644 --- a/drivers/cpufreq/tegra-cpufreq.c +++ b/drivers/cpufreq/tegra-cpufreq.c | |||
@@ -82,9 +82,9 @@ out: | |||
82 | return ret; | 82 | return ret; |
83 | } | 83 | } |
84 | 84 | ||
85 | static int tegra_update_cpu_speed(struct cpufreq_policy *policy, | 85 | static int tegra_target(struct cpufreq_policy *policy, unsigned int index) |
86 | unsigned long rate) | ||
87 | { | 86 | { |
87 | unsigned long rate = freq_table[index].frequency; | ||
88 | int ret = 0; | 88 | int ret = 0; |
89 | 89 | ||
90 | /* | 90 | /* |
@@ -106,11 +106,6 @@ static int tegra_update_cpu_speed(struct cpufreq_policy *policy, | |||
106 | return ret; | 106 | return ret; |
107 | } | 107 | } |
108 | 108 | ||
109 | static int tegra_target(struct cpufreq_policy *policy, unsigned int index) | ||
110 | { | ||
111 | return tegra_update_cpu_speed(policy, freq_table[index].frequency); | ||
112 | } | ||
113 | |||
114 | static int tegra_cpu_init(struct cpufreq_policy *policy) | 109 | static int tegra_cpu_init(struct cpufreq_policy *policy) |
115 | { | 110 | { |
116 | int ret; | 111 | int ret; |