commit | cea6a9e77228c261191bc92df0d24bf5356b99ff | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sun Feb 07 16:25:02 2016 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Mar 09 14:40:56 2016 +0100 |
tree | 1057de7d1b3a1e98311f69f607ab67f9408723d5 | |
parent | bc505475b85de9a9903e84ef0b369d4637354201 [diff] |
cpufreq: governor: Symmetrize cpu_dbs_info initialization and cleanup 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@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>