summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/ti-soc-thermal/ti-bandgap.h
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-03-09 09:06:01 +0100
committerEduardo Valentin <edubezval@gmail.com>2017-03-30 07:14:51 +0200
commit004f772871315091e671b0979047d9a88c1061fd (patch)
treee9ab5f9e328f21ee2108dde8d985a9dbefbda7db /drivers/thermal/ti-soc-thermal/ti-bandgap.h
parentthermal: ti-soc-thermal: Fetch slope and offset from DT (diff)
downloadlinux-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-bandgap.h')
-rw-r--r--drivers/thermal/ti-soc-thermal/ti-bandgap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.h b/drivers/thermal/ti-soc-thermal/ti-bandgap.h
index fe0adb898764..209c664c2823 100644
--- a/drivers/thermal/ti-soc-thermal/ti-bandgap.h
+++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.h
@@ -254,8 +254,6 @@ struct ti_bandgap {
* @ts_data: pointer to struct with thresholds, limits of temperature sensor
* @registers: pointer to the list of register offsets and bitfields
* @domain: the name of the domain where the sensor is located
- * @slope: sensor gradient slope info for hotspot extrapolation equation
- * @constant: sensor gradient const info for hotspot extrapolation equation
* @slope_pcb: sensor gradient slope info for hotspot extrapolation equation
* with no external influence
* @constant_pcb: sensor gradient const info for hotspot extrapolation equation
@@ -274,8 +272,6 @@ struct ti_temp_sensor {
struct temp_sensor_registers *registers;
char *domain;
/* for hotspot extrapolation */
- const int slope;
- const int constant;
const int slope_pcb;
const int constant_pcb;
int (*register_cooling)(struct ti_bandgap *bgp, int id);