]> git.karo-electronics.de Git - linux-beck.git/commit
cpufreq: ondemand: Don't keep a copy of freq_table pointer
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 3 Jun 2016 05:28:48 +0000 (10:58 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 Jun 2016 22:58:06 +0000 (00:58 +0200)
commit34ac5d7a1d1da203008697e1a69cb4bdbff8684c
tree1ff8254c6904d54d245a953a16a1c94a5604975f
parentf8bfc116cacbdf7e0e655d8a798a242087ed70a5
cpufreq: ondemand: Don't keep a copy of freq_table pointer

There is absolutely no need to keep a copy to the freq-table in 'struct
od_policy_dbs_info'. Use policy->freq_table instead.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/amd_freq_sensitivity.c
drivers/cpufreq/cpufreq_ondemand.c
drivers/cpufreq/cpufreq_ondemand.h