commit | 730abe064b6f8860302b75a689ceed059c08e0b1 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Thu Dec 04 09:41:58 2014 +0530 |
committer | Eduardo Valentin <edubezval@gmail.com> | Mon Dec 08 12:08:57 2014 -0400 |
tree | dd7c6b8c70300c12ba77d681e3af287c1d82f341 | |
parent | c9ca319f0579cd51b07a666683157233c2cf720d [diff] |
thermal: cpu_cooling: do error handling at the bottom in __cpufreq_cooling_register() This makes life easy and bug free. And is scalable for future resource allocations. Acked-by: Javi Merino <javi.merino@arm.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>