Skip to content

Commit c0c0470

Browse files
krzkEduardo Valentin
authored andcommitted
thermal: samsung: Remove Exynos5440 clock handling left-overs
Commit 8014220 ("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>
1 parent 432121a commit c0c0470

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/thermal/samsung/exynos_tmu.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -789,11 +789,6 @@ static void exynos_tmu_work(struct work_struct *work)
789789
struct exynos_tmu_data *data = container_of(work,
790790
struct exynos_tmu_data, irq_work);
791791

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-
797792
thermal_zone_device_update(data->tzd, THERMAL_EVENT_UNSPECIFIED);
798793

799794
mutex_lock(&data->lock);

0 commit comments

Comments
 (0)