diff options
author | Keerthy <j-keerthy@ti.com> | 2017-03-09 09:06:01 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2017-03-30 07:14:51 +0200 |
commit | 004f772871315091e671b0979047d9a88c1061fd (patch) | |
tree | e9ab5f9e328f21ee2108dde8d985a9dbefbda7db /drivers/thermal/ti-soc-thermal/ti-thermal.h | |
parent | thermal: ti-soc-thermal: Fetch slope and offset from DT (diff) | |
download | linux-004f772871315091e671b0979047d9a88c1061fd.tar.xz linux-004f772871315091e671b0979047d9a88c1061fd.zip |
thermal: ti-soc-thermal: Remove redundant constants
Now that slope and offset data are being passed from
device tree no need to populate in driver data.
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/ti-soc-thermal/ti-thermal.h')
-rw-r--r-- | drivers/thermal/ti-soc-thermal/ti-thermal.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/thermal/ti-soc-thermal/ti-thermal.h b/drivers/thermal/ti-soc-thermal/ti-thermal.h index f8b7ffea6194..8e85ca973967 100644 --- a/drivers/thermal/ti-soc-thermal/ti-thermal.h +++ b/drivers/thermal/ti-soc-thermal/ti-thermal.h @@ -25,22 +25,6 @@ #include "ti-bandgap.h" -/* sensors gradient and offsets */ -#define OMAP_GRADIENT_SLOPE_4430 0 -#define OMAP_GRADIENT_CONST_4430 20000 -#define OMAP_GRADIENT_SLOPE_4460 348 -#define OMAP_GRADIENT_CONST_4460 -9301 -#define OMAP_GRADIENT_SLOPE_4470 308 -#define OMAP_GRADIENT_CONST_4470 -7896 - -#define OMAP_GRADIENT_SLOPE_5430_CPU 65 -#define OMAP_GRADIENT_CONST_5430_CPU -1791 -#define OMAP_GRADIENT_SLOPE_5430_GPU 117 -#define OMAP_GRADIENT_CONST_5430_GPU -2992 - -#define DRA752_GRADIENT_SLOPE 0 -#define DRA752_GRADIENT_CONST 2000 - /* PCB sensor calculation constants */ #define OMAP_GRADIENT_SLOPE_W_PCB_4430 0 #define OMAP_GRADIENT_CONST_W_PCB_4430 20000 |