cpufreq: ARM big LITTLE DT: Return correct transition latency

By mistake we are returning zero for successful call to
dt_get_transition_latency(), whereas we should return
transition_latency.  Fix that.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Viresh Kumar 2013-04-29 13:24:45 +00:00 committed by Rafael J. Wysocki
parent bb08be7872
commit 996905f333
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ static int dt_get_transition_latency(struct device *cpu_dev)
of_node_put(np); of_node_put(np);
of_node_put(parent); of_node_put(parent);
return 0; return transition_latency;
} }
return -ENODEV; return -ENODEV;