commit | c960f9b22d63934401949fb20d10ec4e69b535b2 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue Jan 06 21:09:12 2015 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Jan 23 23:06:44 2015 +0100 |
tree | 070d80ff5d0d50cb3297f254f6d60fd2317238e2 | |
parent | a685c6d023c77303ca8700f37bf06eb85ffbf06a [diff] |
cpufreq: stats: time_in_state can't be NULL in cpufreq_stats_update() 'time_in_state' can't be NULL if 'stats' is valid. These are allocated together and only if time_in_state is allocated successfully, we update policy->stats. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>