]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
thermal: exynos: use sanitize_temp_error() in exynos7_tmu_initialize()
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 26 Apr 2018 11:51:20 +0000 (13:51 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Sun, 6 May 2018 23:16:50 +0000 (16:16 -0700)
commitaef27b658b43aab1239f8eece52ce505fda0ffd4
treec52a4118aa2fc846d79b59076d41835ed0874647
parent97b3881b8bc5f49a276b5265539f244bf507f42d
thermal: exynos: use sanitize_temp_error() in exynos7_tmu_initialize()

Fix sanitize_temp_error() to handle Exynos7 SoCs and then use it in
exynos7_tmu_initialize().

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/samsung/exynos_tmu.c