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)
commit0dd3c1d678aa219a7332984fcedbdd8970e92d5b
tree9ac34d05785083187229f0b206cd06f9ded9e5c1
parent0bed612be638e41456cd8cb270a2b411a5b43d63
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