linux_old1/drivers/thermal/samsung
Bartlomiej Zolnierkiewicz 6070c2ca37 thermal: exynos: remove needless emul_time_shift abstraction
reg->emul_time_shift is used only in exynos_tmu_set_emulation()
and accessed only if TMU_SUPPORT_EMUL_TIME flag is set.  This
flag is not set for Exynos4210 and Exynos5440 (reg->emul_time_shift
field is not even assigned in exynos[4210,5440]_tmu_registers
and is assigned to identical value for all other SoC types) so
the abstraction is not needed and can be removed.

There should be no functional changes caused by this patch.

Cc: Amit Daniel Kachhap <amit.daniel@samsung.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2014-11-20 10:52:54 -04:00
..
Kconfig thermal: exynos: Clean up non-DT remnants 2013-08-29 09:37:31 -04:00
Makefile thermal: exynos: Bifurcate exynos tmu driver and configuration data 2013-08-13 09:52:00 -04:00
exynos_thermal_common.c thermal:samsung: fix compilation warning 2014-01-02 10:05:04 +08:00
exynos_thermal_common.h thermal: exynos: remove needless triminfo_ctrl abstraction 2014-11-20 10:52:35 -04:00
exynos_tmu.c thermal: exynos: remove needless emul_time_shift abstraction 2014-11-20 10:52:54 -04:00
exynos_tmu.h thermal: exynos: remove needless emul_time_shift abstraction 2014-11-20 10:52:54 -04:00
exynos_tmu_data.c thermal: exynos: remove needless emul_time_shift abstraction 2014-11-20 10:52:54 -04:00
exynos_tmu_data.h thermal: exynos: remove needless tmu_status abstraction 2014-11-20 10:52:23 -04:00