From: Bartlomiej Zolnierkiewicz Date: Thu, 13 Nov 2014 15:01:07 +0000 (+0100) Subject: thermal: exynos: simplify HW_TRIP level setting X-Git-Tag: omap-for-v3.19/fixes-rc1~53^2^2^2^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2516593e4ef0230b184e8ce4dd3de6caed5e6131;p=pandora-kernel.git thermal: exynos: simplify HW_TRIP level setting Simplify HW_TRIP level setting in exynos_tmu_initialize() (don't pretend that the current code is hardware and configuration independent and just do SoC type check explicitly). Then remove no longer needed reg->threshold_[th2,th3_l0_shift] abstractions (only assigned for Exynos5440 in exynos5440_tmu_registers) and EXYNOS_MAX_TRIGGER_PER_REG define. 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