[PATCH 1/3] cpufreq: stats: Remove redundant cpufreq_cpu_get() call

2014-02-26 Thread Saravana Kannan
__cpufreq_stats_create_table always gets pass the valid and real policy struct. So, there's no need to call cpufreq_cpu_get() to get the policy again. Acked-by: Viresh Kumar Signed-off-by: Saravana Kannan --- drivers/cpufreq/cpufreq_stats.c | 12 +--- 1 file changed, 1 insertion(+), 11

Re: [PATCH 1/3] cpufreq: stats: Remove redundant cpufreq_cpu_get() call

2014-02-26 Thread Saravana Kannan
On 02/25/2014 09:06 PM, Viresh Kumar wrote: On 26 February 2014 09:08, Saravana Kannan wrote: __cpufreq_stats_create_table always gets pass the valid and real policy struct. So, there's no need to call cpufreq_cpu_get() to get the policy again. Change-Id:

Re: [PATCH 1/3] cpufreq: stats: Remove redundant cpufreq_cpu_get() call

2014-02-26 Thread Saravana Kannan
On 02/25/2014 09:06 PM, Viresh Kumar wrote: On 26 February 2014 09:08, Saravana Kannan skan...@codeaurora.org wrote: __cpufreq_stats_create_table always gets pass the valid and real policy struct. So, there's no need to call cpufreq_cpu_get() to get the policy again. Change-Id:

[PATCH 1/3] cpufreq: stats: Remove redundant cpufreq_cpu_get() call

2014-02-26 Thread Saravana Kannan
__cpufreq_stats_create_table always gets pass the valid and real policy struct. So, there's no need to call cpufreq_cpu_get() to get the policy again. Acked-by: Viresh Kumar viresh.ku...@linaro.org Signed-off-by: Saravana Kannan skan...@codeaurora.org --- drivers/cpufreq/cpufreq_stats.c | 12

Re: [PATCH 1/3] cpufreq: stats: Remove redundant cpufreq_cpu_get() call

2014-02-25 Thread Viresh Kumar
On 26 February 2014 09:08, Saravana Kannan wrote: > __cpufreq_stats_create_table always gets pass the valid and real policy > struct. So, there's no need to call cpufreq_cpu_get() to get the policy > again. > > Change-Id: I0136b3e67018ee3af2335906407f55d8c6219f71 ?? > Signed-off-by: Saravana

[PATCH 1/3] cpufreq: stats: Remove redundant cpufreq_cpu_get() call

2014-02-25 Thread Saravana Kannan
__cpufreq_stats_create_table always gets pass the valid and real policy struct. So, there's no need to call cpufreq_cpu_get() to get the policy again. Change-Id: I0136b3e67018ee3af2335906407f55d8c6219f71 Signed-off-by: Saravana Kannan --- Viresh/Rafael, These 3 patches is the approximate code

[PATCH 1/3] cpufreq: stats: Remove redundant cpufreq_cpu_get() call

2014-02-25 Thread Saravana Kannan
__cpufreq_stats_create_table always gets pass the valid and real policy struct. So, there's no need to call cpufreq_cpu_get() to get the policy again. Change-Id: I0136b3e67018ee3af2335906407f55d8c6219f71 Signed-off-by: Saravana Kannan skan...@codeaurora.org --- Viresh/Rafael, These 3 patches is

Re: [PATCH 1/3] cpufreq: stats: Remove redundant cpufreq_cpu_get() call

2014-02-25 Thread Viresh Kumar
On 26 February 2014 09:08, Saravana Kannan skan...@codeaurora.org wrote: __cpufreq_stats_create_table always gets pass the valid and real policy struct. So, there's no need to call cpufreq_cpu_get() to get the policy again. Change-Id: I0136b3e67018ee3af2335906407f55d8c6219f71 ??