Browse Source

thermal: exynos: Remove parsing unused samsung,tmu_cal_mode property

The property samsung,tmu_cal_mode is not used and not used.  We can
safely remove it.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Krzysztof Kozlowski 8 years ago
parent
commit
ef9b36d910
2 changed files with 0 additions and 2 deletions
  1. 0 1
      drivers/thermal/samsung/exynos_tmu.c
  2. 0 1
      drivers/thermal/samsung/exynos_tmu.h

+ 0 - 1
drivers/thermal/samsung/exynos_tmu.c

@@ -1168,7 +1168,6 @@ static int exynos_of_sensor_conf(struct device_node *np,
 	pdata->default_temp_offset = (u8)value;
 	pdata->default_temp_offset = (u8)value;
 
 
 	of_property_read_u32(np, "samsung,tmu_cal_type", &pdata->cal_type);
 	of_property_read_u32(np, "samsung,tmu_cal_type", &pdata->cal_type);
-	of_property_read_u32(np, "samsung,tmu_cal_mode", &pdata->cal_mode);
 
 
 	of_node_put(np);
 	of_node_put(np);
 	return 0;
 	return 0;

+ 0 - 1
drivers/thermal/samsung/exynos_tmu.h

@@ -70,7 +70,6 @@ struct exynos_tmu_platform_data {
 
 
 	enum soc_type type;
 	enum soc_type type;
 	u32 cal_type;
 	u32 cal_type;
-	u32 cal_mode;
 };
 };
 
 
 #endif /* _EXYNOS_TMU_H */
 #endif /* _EXYNOS_TMU_H */