linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] thermal: samsung: Remove Exynos5440 clock handling left-overs
@ 2018-07-17 15:46 ` Krzysztof Kozlowski
  2018-07-24 15:46   ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2018-07-17 15:46 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz, Zhang Rui, Eduardo Valentin,
	Kukjin Kim, Krzysztof Kozlowski, linux-pm, linux-samsung-soc,
	linux-arm-kernel, linux-kernel

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>
---
 drivers/thermal/samsung/exynos_tmu.c | 5 -----
 1 file changed, 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)
 	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);
-- 
2.14.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] thermal: samsung: Remove Exynos5440 clock handling left-overs
  2018-07-17 15:46 ` [PATCH] thermal: samsung: Remove Exynos5440 clock handling left-overs Krzysztof Kozlowski
@ 2018-07-24 15:46   ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2018-07-24 15:46 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Zhang Rui, Eduardo Valentin, Kukjin Kim, linux-pm,
	linux-samsung-soc, linux-arm-kernel, linux-kernel

On Tuesday, July 17, 2018 05:46:17 PM Krzysztof Kozlowski wrote:
> 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>

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-24 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20180717154647epcas2p4285b46d932fbfd04eab2bdf05de8a5b1@epcas2p4.samsung.com>
2018-07-17 15:46 ` [PATCH] thermal: samsung: Remove Exynos5440 clock handling left-overs Krzysztof Kozlowski
2018-07-24 15:46   ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).