]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: governor: New data type for management part of dbs_data
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Mar 2016 01:47:51 +0000 (02:47 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 1 Apr 2016 23:09:00 +0000 (01:09 +0200)
commite21d9fcd50101cb130787207da4f4795e13cc437
tree9ac34d05785083187229f0b206cd06f9ded9e5c1
parentc66be07b55a9eb269eb53a0fe47ed4997c82d053
cpufreq: governor: New data type for management part of dbs_data

In addition to fields representing governor tunables, struct dbs_data
contains some fields needed for the management of objects of that
type.  As it turns out, that part of struct dbs_data may be shared
with (future) governors that won't use the common code used by
"ondemand" and "conservative", so move it to a separate struct type
and modify the code using struct dbs_data to follow.

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