* [PATCH] thermal: exynos: Remove parsing unused samsung,tmu_cal_mode property @ 2017-02-11 20:12 ` Krzysztof Kozlowski 2017-02-13 16:21 ` Bartlomiej Zolnierkiewicz 0 siblings, 1 reply; 2+ messages in thread From: Krzysztof Kozlowski @ 2017-02-11 20:12 UTC (permalink / raw) To: Bartlomiej Zolnierkiewicz, Zhang Rui, Eduardo Valentin, Kukjin Kim, Krzysztof Kozlowski, Javier Martinez Canillas, linux-pm, linux-samsung-soc, linux-arm-kernel, linux-kernel 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> --- drivers/thermal/samsung/exynos_tmu.c | 1 - drivers/thermal/samsung/exynos_tmu.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index ad1186dd6132..7b8ef09d2b3c 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/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; 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; diff --git a/drivers/thermal/samsung/exynos_tmu.h b/drivers/thermal/samsung/exynos_tmu.h index 440c7140b660..5149c2a3030c 100644 --- a/drivers/thermal/samsung/exynos_tmu.h +++ b/drivers/thermal/samsung/exynos_tmu.h @@ -70,7 +70,6 @@ struct exynos_tmu_platform_data { enum soc_type type; u32 cal_type; - u32 cal_mode; }; #endif /* _EXYNOS_TMU_H */ -- 2.9.3 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] thermal: exynos: Remove parsing unused samsung,tmu_cal_mode property 2017-02-11 20:12 ` [PATCH] thermal: exynos: Remove parsing unused samsung,tmu_cal_mode property Krzysztof Kozlowski @ 2017-02-13 16:21 ` Bartlomiej Zolnierkiewicz 0 siblings, 0 replies; 2+ messages in thread From: Bartlomiej Zolnierkiewicz @ 2017-02-13 16:21 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: Zhang Rui, Eduardo Valentin, Kukjin Kim, Javier Martinez Canillas, linux-pm, linux-samsung-soc, linux-arm-kernel, linux-kernel On Saturday, February 11, 2017 10:12:00 PM Krzysztof Kozlowski wrote: > 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> Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics > --- > drivers/thermal/samsung/exynos_tmu.c | 1 - > drivers/thermal/samsung/exynos_tmu.h | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c > index ad1186dd6132..7b8ef09d2b3c 100644 > --- a/drivers/thermal/samsung/exynos_tmu.c > +++ b/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; > > 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; > diff --git a/drivers/thermal/samsung/exynos_tmu.h b/drivers/thermal/samsung/exynos_tmu.h > index 440c7140b660..5149c2a3030c 100644 > --- a/drivers/thermal/samsung/exynos_tmu.h > +++ b/drivers/thermal/samsung/exynos_tmu.h > @@ -70,7 +70,6 @@ struct exynos_tmu_platform_data { > > enum soc_type type; > u32 cal_type; > - u32 cal_mode; > }; > > #endif /* _EXYNOS_TMU_H */ ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-13 16:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20170211201214epcas4p19f97c2392bf0af211a0de6b0639dfe88@epcas4p1.samsung.com>
2017-02-11 20:12 ` [PATCH] thermal: exynos: Remove parsing unused samsung,tmu_cal_mode property Krzysztof Kozlowski
2017-02-13 16:21 ` Bartlomiej Zolnierkiewicz
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox