[PATCH V2 24/35] cpufreq: powernow: Covert to light weight ->target_index() routine

2013-08-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/powernow-k6.c | 35

[PATCH V2 24/35] cpufreq: powernow: Covert to light weight -target_index() routine

2013-08-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---