From: Bartlomiej Zolnierkiewicz Date: Thu, 13 Nov 2014 15:01:03 +0000 (+0100) Subject: thermal: exynos: remove needless emul_temp_shift abstraction X-Git-Tag: omap-for-v3.19/fixes-rc1~53^2^2^2^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e288d6430373a679d1ee88ff90813cd6be20dd2;p=pandora-kernel.git thermal: exynos: remove needless emul_temp_shift abstraction reg->emul_temp_shift is used only in exynos_tmu_set_emulation() and accessed only if TMU_SUPPORT_EMULATION flag is set. This flag is not set for Exynos4210 (reg->emul_temp_shift field is not even assigned in exynos4210_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 Cc: Lukasz Majewski Cc: Eduardo Valentin Cc: Zhang Rui Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park Tested-by: Lukasz Majewski Signed-off-by: Eduardo Valentin --- Reading git-diff-tree failed