Message ID | 1524743493-28113-18-git-send-email-b.zolnierkie@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Eduardo Valentin |
Headers | show |
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@samsung.com> > --- > 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 >
On Tuesday, May 01, 2018 01:11:20 PM Daniel Lezcano wrote: > 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 ? They can be always resurrected from git repo if needed. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics
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
Remove unused defines for Exynos5433. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> --- drivers/thermal/samsung/exynos_tmu.c | 5 ----- 1 file changed, 5 deletions(-)