From: Bartlomiej Zolnierkiewicz Date: Thu, 13 Nov 2014 15:00:59 +0000 (+0100) Subject: thermal: exynos: remove needless triminfo_ctrl abstraction X-Git-Tag: omap-for-v3.19/fixes-rc1~53^2^2^2^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32f9520569ed6bf75673063b8b1c4f2e46a75c48;p=pandora-kernel.git thermal: exynos: remove needless triminfo_ctrl abstraction reg->triminfo_ctrl[] is used in only exynos_tmu_initialize() and accessed only if TMU_SUPPORT_TRIM_RELOAD flag is set. This flag is set only on Exynos3250, Exynos4412 and Exynos5250 (other SoC types don't even have triminfo_ctrl[] entries assigned in their struct exynos_tmu_registers instances) so the register 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