summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/ti-soc-thermal/omap4-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/omap4-thermal-data.c
parente7d22fd2f634d570ab036336c7a6e5017244d0e0 (diff)
downloadblackbird-obmc-linux-004f772871315091e671b0979047d9a88c1061fd.tar.gz
blackbird-obmc-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/omap4-thermal-data.c')
-rw-r--r--drivers/thermal/ti-soc-thermal/omap4-thermal-data.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/thermal/ti-soc-thermal/omap4-thermal-data.c b/drivers/thermal/ti-soc-thermal/omap4-thermal-data.c
index d255d33da9eb..fd1113360603 100644
--- a/drivers/thermal/ti-soc-thermal/omap4-thermal-data.c
+++ b/drivers/thermal/ti-soc-thermal/omap4-thermal-data.c
@@ -82,8 +82,6 @@ const struct ti_bandgap_data omap4430_data = {
.registers = &omap4430_mpu_temp_sensor_registers,
.ts_data = &omap4430_mpu_temp_sensor_data,
.domain = "cpu",
- .slope = OMAP_GRADIENT_SLOPE_4430,
- .constant = OMAP_GRADIENT_CONST_4430,
.slope_pcb = OMAP_GRADIENT_SLOPE_W_PCB_4430,
.constant_pcb = OMAP_GRADIENT_CONST_W_PCB_4430,
.register_cooling = ti_thermal_register_cpu_cooling,
@@ -222,8 +220,6 @@ const struct ti_bandgap_data omap4460_data = {
.registers = &omap4460_mpu_temp_sensor_registers,
.ts_data = &omap4460_mpu_temp_sensor_data,
.domain = "cpu",
- .slope = OMAP_GRADIENT_SLOPE_4460,
- .constant = OMAP_GRADIENT_CONST_4460,
.slope_pcb = OMAP_GRADIENT_SLOPE_W_PCB_4460,
.constant_pcb = OMAP_GRADIENT_CONST_W_PCB_4460,
.register_cooling = ti_thermal_register_cpu_cooling,
@@ -255,8 +251,6 @@ const struct ti_bandgap_data omap4470_data = {
.registers = &omap4460_mpu_temp_sensor_registers,
.ts_data = &omap4460_mpu_temp_sensor_data,
.domain = "cpu",
- .slope = OMAP_GRADIENT_SLOPE_4470,
- .constant = OMAP_GRADIENT_CONST_4470,
.slope_pcb = OMAP_GRADIENT_SLOPE_W_PCB_4470,
.constant_pcb = OMAP_GRADIENT_CONST_W_PCB_4470,
.register_cooling = ti_thermal_register_cpu_cooling,
OpenPOWER on IntegriCloud