提交 c0c04707 编写于 作者: K Krzysztof Kozlowski 提交者: Eduardo Valentin

thermal: samsung: Remove Exynos5440 clock handling left-overs

Commit 8014220d ("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: NKrzysztof Kozlowski <krzk@kernel.org>
Acked-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
上级 432121ad
...@@ -789,11 +789,6 @@ static void exynos_tmu_work(struct work_struct *work) ...@@ -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 *data = container_of(work,
struct exynos_tmu_data, irq_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); thermal_zone_device_update(data->tzd, THERMAL_EVENT_UNSPECIFIED);
mutex_lock(&data->lock); mutex_lock(&data->lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册