From: Bartlomiej Zolnierkiewicz Date: Thu, 13 Nov 2014 15:01:00 +0000 (+0100) Subject: thermal: exynos: remove needless test_mux_addr_shift abstraction X-Git-Tag: omap-for-v3.20/drop-legacy-3517~50^2^2^2^2~36 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfb2b88c79df839779586e0247456bd79882b145;p=pandora-kernel.git thermal: exynos: remove needless test_mux_addr_shift abstraction reg->test_mux_addr_shift is used only if pdata->test_mux is non-zero. pdata->test_mux is defined only on Exynos3250 and Exynos4412 (other SoC types don't even have pdata->test_mux entry assigned in their struct exynos_tmu_registers instances) 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