aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2018-07-17 11:46:17 -0400
committerEduardo Valentin <edubezval@gmail.com>2018-07-27 19:21:40 -0400
commitc0c04707033c71d0490a412b0a941d87011949a3 (patch)
treee143be190e0976b55d95becce19ce77aa5137ee0
parent432121adf5e880240237bd9b15ec0ab995d7ea1f (diff)
thermal: samsung: Remove Exynos5440 clock handling left-overs
Commit 8014220d48e7 ("thermal: samsung: Remove support for Exynos5440") removed the Exynos5440 specific part of code for accessing TMU interrupt registers but the surrounding clock handling was left. Clean it up. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
-rw-r--r--drivers/thermal/samsung/exynos_tmu.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c
index a992e51ef065..48eef552cba4 100644
--- a/drivers/thermal/samsung/exynos_tmu.c
+++ b/drivers/thermal/samsung/exynos_tmu.c
@@ -789,11 +789,6 @@ static void exynos_tmu_work(struct work_struct *work)
789 struct exynos_tmu_data *data = container_of(work, 789 struct exynos_tmu_data *data = container_of(work,
790 struct exynos_tmu_data, irq_work); 790 struct exynos_tmu_data, irq_work);
791 791
792 if (!IS_ERR(data->clk_sec))
793 clk_enable(data->clk_sec);
794 if (!IS_ERR(data->clk_sec))
795 clk_disable(data->clk_sec);
796
797 thermal_zone_device_update(data->tzd, THERMAL_EVENT_UNSPECIFIED); 792 thermal_zone_device_update(data->tzd, THERMAL_EVENT_UNSPECIFIED);
798 793
799 mutex_lock(&data->lock); 794 mutex_lock(&data->lock);