]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: exynos: Use device tree to determine if cpufreq cooling should be registered
authorLukasz Majewski <l.majewski@samsung.com>
Fri, 23 Jan 2015 12:14:20 +0000 (13:14 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Sat, 24 Jan 2015 21:33:14 +0000 (17:33 -0400)
commit13167e2fc4d7eb40d50385fe75c320dfbc403d1e
treec7fcd2f4a123a72363e35d1e98f9f333fd600135
parentdd50ccf3593fdbf8f1092e74ce6d4c994878af71
cpufreq: exynos: Use device tree to determine if cpufreq cooling should be registered

With thermal subsystem rework it is necessary to tune current cpufreq code
to use cpu frequency change as a potential cooling device.

Now the cpu cooling device is registered only when proper nodes and properties
are available in device tree. Lack of them, however, will not prevent
cpufreq for normal operation.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/cpufreq/exynos-cpufreq.c