Skip to contentSkip to conversation

thermal: exynos: Remove parsing unused samsung,tmu_cal_mode property

PATCH In review Krzysztof Kozlowski 2 participants 2 messages Feb 11, 2017 – Feb 13, 2017

Subsystems (3)
lore
Share & tools
lore

Krzysztof Kozlowski

author maintainer
#0 lore raw

PATCH 1/1 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.

---
 drivers/thermal/samsung/exynos_tmu.c | 1 -
 drivers/thermal/samsung/exynos_tmu.h | 1 -
 2 files changed, 2 deletions(-)
drivers/thermal/samsung/exynos_tmu.c +0 -1
index ad1186dd6132..7b8ef09d2b3c 100644
@@ -1168,7 +1168,6 @@ static int exynos_of_sensor_conf(struct device_node *np,
 	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_mode", &pdata->cal_mode);
 
 	of_node_put(np);
 	return 0;
drivers/thermal/samsung/exynos_tmu.h +0 -1
index 440c7140b660..5149c2a3030c 100644
@@ -70,7 +70,6 @@ struct exynos_tmu_platform_data {
 
 	enum soc_type type;
 	u32 cal_type;
-	u32 cal_mode;
 };
 
 #endif /* _EXYNOS_TMU_H */
Signature · 1 line
2.9.3
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Krzysztof Kozlowski

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

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

Quoted 29 lines
---
 drivers/thermal/samsung/exynos_tmu.c | 1 -
 drivers/thermal/samsung/exynos_tmu.h | 1 -
 2 files changed, 2 deletions(-)
drivers/thermal/samsung/exynos_tmu.c +0 -1
index ad1186dd6132..7b8ef09d2b3c 100644
@@ -1168,7 +1168,6 @@ static int exynos_of_sensor_conf(struct device_node *np,
 	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_mode", &pdata->cal_mode);
 
 	of_node_put(np);
 	return 0;
drivers/thermal/samsung/exynos_tmu.h +0 -1
index 440c7140b660..5149c2a3030c 100644
@@ -70,7 +70,6 @@ struct exynos_tmu_platform_data {
 
 	enum soc_type type;
 	u32 cal_type;
-	u32 cal_mode;
 };
 
 #endif /* _EXYNOS_TMU_H */