summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/samsung/exynos_tmu.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2014-07-31 19:11:03 +0200
committerEduardo Valentin <edubezval@gmail.com>2014-11-02 23:02:48 -0400
commitddb31d43cb20222f929b0d242bdb516de51b6c23 (patch)
tree8a4287c8a6905c4b1b437766ee81769f4367a245 /drivers/thermal/samsung/exynos_tmu.h
parent8131a246600f0c34a71cbe1a2e4a19af7e9bc887 (diff)
downloadop-kernel-dev-ddb31d43cb20222f929b0d242bdb516de51b6c23.zip
op-kernel-dev-ddb31d43cb20222f929b0d242bdb516de51b6c23.tar.gz
thermal: exynos: simplify temp_to_code() and code_to_temp()
* Remove dead temp check from temp_to_code() (this function users in exynos_tmu_initialize() always pass correct temperatures and exynos_tmu_set_emulation() returns early for EXYNOS4210 because TMU_SUPPORT_EMULATION flag is not set on this SoC). * Move temp_code check from code_to_temp() to exynos_tmu_read() (code_to_temp() only user). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Amit Daniel Kachhap <amit.daniel@samsung.com> Tested-by: Amit Daniel Kachhap <amit.daniel@samsung.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/samsung/exynos_tmu.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud