summaryrefslogtreecommitdiff
path: root/kernel/ksysfs.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-12-04 09:42:07 +0530
committerEduardo Valentin <edubezval@gmail.com>2014-12-08 14:11:54 -0400
commit4843c4a190495aec41c8a87365697e933dc88bc9 (patch)
tree102b19e35891754c59c56bfb8bf2b1c1d9012dd9 /kernel/ksysfs.c
parentf6859014c7e7cc0e7688525741fc3a0e7aee63be (diff)
thermal: cpu_cooling: Use cpufreq_dev->freq_table for finding level/freq
get_property() was an over complicated beast with BUGs. It used to believe that cpufreq table is present in ascending or descending order, which might not always be true. Previous patch has created another freq table in descending order for us and we better use it now. With that get_property() simply goes away and another helper get_level() comes in. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions