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)
commite725d26c4857e5e41975b5e74e64ce6ab09a7121
treec7fcd2f4a123a72363e35d1e98f9f333fd600135
parent1fe391bf0234add380245dea2dd72220394fe5fd
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