summaryrefslogtreecommitdiff
path: root/drivers/powercap
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-02-18 04:21:21 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-09 16:41:07 +0300
commit702c9e542a25cf95683c08c56e711eddb80020ac (patch)
tree245a4ac07166204e1aee917cc2b5057ec28eed16 /drivers/powercap
parent8847e038c1d19c20dda0d7a590e31ffa528da8a5 (diff)
downloadlinux-702c9e542a25cf95683c08c56e711eddb80020ac.tar.xz
cpufreq: governor: Add a ->start callback for governors
To avoid having to check the governor type explicitly in the common code in order to initialize data structures specific to the governor type properly, add a ->start callback to struct dbs_governor and use it to initialize those data structures for the ondemand and conservative governors. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions