summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/samsung/exynos_tmu.c
diff options
context:
space:
mode:
authorLukasz Majewski2015-01-23 13:10:00 +0100
committerEduardo Valentin2015-01-24 22:32:03 +0100
commit1fe391bf0234add380245dea2dd72220394fe5fd (patch)
treed1d86a97320bd4a4623d2623ae83ef08fdae4895 /drivers/thermal/samsung/exynos_tmu.c
parentthermal: exynos: Provide thermal_exynos.h file to be included in device tree ... (diff)
downloadkernel-qcow2-linux-1fe391bf0234add380245dea2dd72220394fe5fd.tar.gz
kernel-qcow2-linux-1fe391bf0234add380245dea2dd72220394fe5fd.tar.xz
kernel-qcow2-linux-1fe391bf0234add380245dea2dd72220394fe5fd.zip
thermal: exynos: Modify exynos thermal code to use device tree for cpu cooling configuration
Up till now exynos_tmu_data.c was used for storing CPU cooling configuration data. Now the Exynos thermal core code uses device tree to get this data. For this purpose generic thermal code for configuring CPU cooling was used. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/samsung/exynos_tmu.c')
-rw-r--r--drivers/thermal/samsung/exynos_tmu.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c
index 5000727c8c2b..ae30f6af05e0 100644
--- a/drivers/thermal/samsung/exynos_tmu.c
+++ b/drivers/thermal/samsung/exynos_tmu.c
@@ -916,13 +916,6 @@ static int exynos_tmu_probe(struct platform_device *pdev)
sensor_conf->trip_data.trigger_falling = pdata->threshold_falling;
- sensor_conf->cooling_data.freq_clip_count = pdata->freq_tab_count;
- for (i = 0; i < pdata->freq_tab_count; i++) {
- sensor_conf->cooling_data.freq_data[i].freq_clip_max =
- pdata->freq_tab[i].freq_clip_max;
- sensor_conf->cooling_data.freq_data[i].temp_level =
- pdata->freq_tab[i].temp_level;
- }
sensor_conf->dev = &pdev->dev;
/* Register the sensor with thermal management interface */
ret = exynos_register_thermal(sensor_conf);