Re: [PATCH 44/44] cpufreq: pass suitable index instead of freq to cpufreq_driver->target()

2013-08-11 Thread Viresh Kumar
On 10 August 2013 12:14, Viresh Kumar wrote: > This tries to remove code redundancy from cpufreq driver by moving some common > part of them to the core. Each driver calls cpufreq_frequency_table_target() > to > get a suitable index for a target frequency and then works on it. Its better > to >

Re: [PATCH 44/44] cpufreq: pass suitable index instead of freq to cpufreq_driver->target()

2013-08-10 Thread Viresh Kumar
On 10 August 2013 12:14, Viresh Kumar wrote: > This tries to remove code redundancy from cpufreq driver by moving some common > part of them to the core. Each driver calls cpufreq_frequency_table_target() > to > get a suitable index for a target frequency and then works on it. Its better > to >

[PATCH 44/44] cpufreq: pass suitable index instead of freq to cpufreq_driver->target()

2013-08-09 Thread Viresh Kumar
This tries to remove code redundancy from cpufreq driver by moving some common part of them to the core. Each driver calls cpufreq_frequency_table_target() to get a suitable index for a target frequency and then works on it. Its better to do this at core level before calling cpufreq driver and henc