OSDN Git Service

thermal: exynos: do not use trips structure directly in ->tmu_initialize
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 26 Apr 2018 11:51:27 +0000 (13:51 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Sun, 6 May 2018 23:32:59 +0000 (16:32 -0700)
commitab1b7ada95c61a22a125c9ee5c75d32844b37d82
tree413ebc3be5a559fbb460aa85c0e60ce0d56924ce
parenta503a10ff3d7b5998337693dd6f7547bf886201f
thermal: exynos: do not use trips structure directly in ->tmu_initialize

Use ->get_trip_[temp,hyst] methods instead of using trips structure
directly in all ->tmu_initialize method implementations.

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