Re: [PATCH 17/18] thermal: exynos: remove unused defines for Exynos5433

From: Daniel Lezcano
Date: Tue May 01 2018 - 07:11:33 EST


On Thu, Apr 26, 2018 at 01:51:32PM +0200, Bartlomiej Zolnierkiewicz wrote:
> Remove unused defines for Exynos5433.

I agree to remove these macros but is there a place with the documentation for
those values if we need to put them back ?

> There should be no functional changes caused by this patch.
>
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>
> ---
> drivers/thermal/samsung/exynos_tmu.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c
> index 9639acf..ed02b40 100644
> --- a/drivers/thermal/samsung/exynos_tmu.c
> +++ b/drivers/thermal/samsung/exynos_tmu.c
> @@ -96,11 +96,6 @@
> #define EXYNOS4412_MUX_ADDR_SHIFT 20
>
> /* Exynos5433 specific registers */
> -#define EXYNOS5433_TMU_REG_CONTROL1 0x024
> -#define EXYNOS5433_TMU_SAMPLING_INTERVAL 0x02c
> -#define EXYNOS5433_TMU_COUNTER_VALUE0 0x030
> -#define EXYNOS5433_TMU_COUNTER_VALUE1 0x034
> -#define EXYNOS5433_TMU_REG_CURRENT_TEMP1 0x044
> #define EXYNOS5433_THD_TEMP_RISE3_0 0x050
> #define EXYNOS5433_THD_TEMP_RISE7_4 0x054
> #define EXYNOS5433_THD_TEMP_FALL3_0 0x060
> --
> 1.9.1
>

--

<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog