On 18-02-16, 02:21, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wyso...@intel.com>
> 
> 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.wyso...@intel.com>
> ---
>  drivers/cpufreq/cpufreq_conservative.c |    9 +++++++++
>  drivers/cpufreq/cpufreq_governor.c     |   16 ++--------------
>  drivers/cpufreq/cpufreq_governor.h     |    1 +
>  drivers/cpufreq/cpufreq_ondemand.c     |   10 ++++++++++
>  4 files changed, 22 insertions(+), 14 deletions(-)

Acked-by: Viresh Kumar <viresh.ku...@linaro.org>

-- 
viresh

Reply via email to