aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/samsung/exynos_tmu.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2014-11-13 10:01:02 -0500
committerEduardo Valentin <edubezval@gmail.com>2014-11-20 09:52:47 -0500
commit77a37a92ca18e4385bfcca9f2762d39fe83110b9 (patch)
treed5a7b39d276ba3330be5d72a20a9caca002e5b81 /drivers/thermal/samsung/exynos_tmu.h
parentb9504a6a3d668e4995420e311869291b21b81b37 (diff)
thermal: exynos: remove needless therm_trip_en_shift abstraction
reg->therm_trip_en_shift is used only in exynos_tmu_initialize() and not accessed on Exynos4210 (also reg->therm_trip_en_shift is not even assigned in exynos4210_tmu_registers but it is assigned to identical value for all other SoC types) 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 <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>
Diffstat (limited to 'drivers/thermal/samsung/exynos_tmu.h')
-rw-r--r--drivers/thermal/samsung/exynos_tmu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu.h b/drivers/thermal/samsung/exynos_tmu.h
index 88c16d7302cb..4798313ca5e1 100644
--- a/drivers/thermal/samsung/exynos_tmu.h
+++ b/drivers/thermal/samsung/exynos_tmu.h
@@ -77,7 +77,6 @@ enum soc_type {
77 * bitfields. The register validity, offsets and bitfield values may vary 77 * bitfields. The register validity, offsets and bitfield values may vary
78 * slightly across different exynos SOC's. 78 * slightly across different exynos SOC's.
79 * @tmu_ctrl: TMU main controller register. 79 * @tmu_ctrl: TMU main controller register.
80 * @therm_trip_en_shift: shift bits of tripping enable in tmu_ctrl register.
81 * @tmu_cur_temp: register containing the current temperature of the TMU. 80 * @tmu_cur_temp: register containing the current temperature of the TMU.
82 * @threshold_th0: Register containing first set of rising levels. 81 * @threshold_th0: Register containing first set of rising levels.
83 * @threshold_th1: Register containing second set of rising levels. 82 * @threshold_th1: Register containing second set of rising levels.
@@ -100,7 +99,6 @@ enum soc_type {
100 */ 99 */
101struct exynos_tmu_registers { 100struct exynos_tmu_registers {
102 u32 tmu_ctrl; 101 u32 tmu_ctrl;
103 u32 therm_trip_en_shift;
104 102
105 u32 tmu_cur_temp; 103 u32 tmu_cur_temp;
106 104