From: b.zolnierkie@samsung.com (Bartlomiej Zolnierkiewicz)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] thermal: exynos: Remove parsing unused samsung,tmu_cal_mode property
Date: Mon, 13 Feb 2017 17:21:57 +0100 [thread overview]
Message-ID: <2102886.NukhHEJKXL@amdc3058> (raw)
In-Reply-To: <20170211201200.27616-1-krzk@kernel.org>
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 */
prev parent reply other threads:[~2017-02-13 16:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2102886.NukhHEJKXL@amdc3058 \
--to=b.zolnierkie@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox