Tegra has implemented an unnecessary wrapper over tegra_update_cpu_speed(), i.e.
tegra_target(), which wasn't doing anything apart of calling
tegra_update_cpu_speed(). Get rid of that and use tegra_target() directly.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
        return ret;
 }
 
-static int tegra_update_cpu_speed(struct cpufreq_policy *policy,
-               unsigned long rate)
+static int tegra_target(struct cpufreq_policy *policy, unsigned int index)
 {
+       unsigned long rate = freq_table[index].frequency;
        int ret = 0;
 
        /*
        return ret;
 }
 
-static int tegra_target(struct cpufreq_policy *policy, unsigned int index)
-{
-       return tegra_update_cpu_speed(policy, freq_table[index].frequency);
-}
-
 static int tegra_cpu_init(struct cpufreq_policy *policy)
 {
        int ret;