Re: [PATCH 3/3] cpufreq: governor: Symmetrize cpu_dbs_info initialization and cleanup

From: Viresh Kumar
Date: Sun Feb 07 2016 - 10:52:11 EST


On 07-02-16, 16:25, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> Make the initialization of struct cpu_dbs_info objects in
> alloc_policy_dbs_info() and the code that cleans them up in
> free_policy_dbs_info() more symmetrical. In particular,
> set/clear the update_util.func field in those functions along
> with the policy_dbs field.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> ---
> drivers/cpufreq/cpufreq_governor.c | 21 +++++++++++++--------
> 1 file changed, 13 insertions(+), 8 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh