cpufreq: ondemand: allow custom powersave_bias_target handler to be registered
authorJacob Shin <jacob.shin@amd.com>
Tue, 2 Apr 2013 14:56:56 +0000 (09:56 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Apr 2013 11:19:26 +0000 (13:19 +0200)
commitfb30809efa3edeb692a6b29125a07c9eceb322dc
tree2664f62ce2ca5f280defc9c3b96009007118c48f
parent5800043b2488a1c4c6e859af860644d37419d58b
cpufreq: ondemand: allow custom powersave_bias_target handler to be registered

This allows for another [arch specific] driver to hook into existing
powersave bias function of the ondemand governor. i.e. This allows AMD
specific powersave bias function (in a separate AMD specific driver)
to aid ondemand governor's frequency transition decisions.

Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Acked-by: Thomas Renninger <trenn@suse.de>
Acked-by: Borislav Petkov <bp@suse.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_governor.h
drivers/cpufreq/cpufreq_ondemand.c