Skip to contentSkip to conversation

thermal: samsung: Remove Exynos5440 clock handling left-overs

PATCH In review Krzysztof Kozlowski 2 participants 2 messages Jul 17, 2018 – Jul 24, 2018

Subsystems (3)
lore
Share & tools
lore

Krzysztof Kozlowski

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 drivers/thermal/samsung/exynos_tmu.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/thermal/samsung/exynos_tmu.c +0 -5
index a992e51ef065..48eef552cba4 100644
@@ -789,11 +789,6 @@ static void exynos_tmu_work(struct work_struct *work)
 	struct exynos_tmu_data *data = container_of(work,
 			struct exynos_tmu_data, irq_work);
 
-	if (!IS_ERR(data->clk_sec))
-		clk_enable(data->clk_sec);
-	if (!IS_ERR(data->clk_sec))
-		clk_disable(data->clk_sec);
-
 	thermal_zone_device_update(data->tzd, THERMAL_EVENT_UNSPECIFIED);
 
 	mutex_lock(&data->lock);
Signature · 1 line
2.14.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Krzysztof Kozlowski

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.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics