aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/ti-soc-thermal/omap5-thermal-data.c
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-03-09 13:36:01 +0530
committerEduardo Valentin <edubezval@gmail.com>2017-03-29 22:14:51 -0700
commit004f772871315091e671b0979047d9a88c1061fd (patch)
treee9ab5f9e328f21ee2108dde8d985a9dbefbda7db /drivers/thermal/ti-soc-thermal/omap5-thermal-data.c
parentthermal: ti-soc-thermal: Fetch slope and offset from DT (diff)
downloadlinux-dev-004f772871315091e671b0979047d9a88c1061fd.tar.xz
linux-dev-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/omap5-thermal-data.c')
-rw-r--r--drivers/thermal/ti-soc-thermal/omap5-thermal-data.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/thermal/ti-soc-thermal/omap5-thermal-data.c b/drivers/thermal/ti-soc-thermal/omap5-thermal-data.c
index 79ff70c446ba..cd9a304fb571 100644
--- a/drivers/thermal/ti-soc-thermal/omap5-thermal-data.c
+++ b/drivers/thermal/ti-soc-thermal/omap5-thermal-data.c
@@ -336,8 +336,6 @@ const struct ti_bandgap_data omap5430_data = {
.domain = "cpu",
.register_cooling = ti_thermal_register_cpu_cooling,
.unregister_cooling = ti_thermal_unregister_cpu_cooling,
- .slope = OMAP_GRADIENT_SLOPE_5430_CPU,
- .constant = OMAP_GRADIENT_CONST_5430_CPU,
.slope_pcb = OMAP_GRADIENT_SLOPE_W_PCB_5430_CPU,
.constant_pcb = OMAP_GRADIENT_CONST_W_PCB_5430_CPU,
},
@@ -345,8 +343,6 @@ const struct ti_bandgap_data omap5430_data = {
.registers = &omap5430_gpu_temp_sensor_registers,
.ts_data = &omap5430_gpu_temp_sensor_data,
.domain = "gpu",
- .slope = OMAP_GRADIENT_SLOPE_5430_GPU,
- .constant = OMAP_GRADIENT_CONST_5430_GPU,
.slope_pcb = OMAP_GRADIENT_SLOPE_W_PCB_5430_GPU,
.constant_pcb = OMAP_GRADIENT_CONST_W_PCB_5430_GPU,
},