summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/ti-soc-thermal/omap3-thermal-data.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-05-02 15:20:35 +0200
committerEduardo Valentin <edubezval@gmail.com>2018-07-27 23:43:01 +0200
commit9bebf3485c6a365ef0b7e83443a707eda2abc78b (patch)
tree417077bdb1ff507834575f3536169b5f20612ab6 /drivers/thermal/ti-soc-thermal/omap3-thermal-data.c
parentthermal: i.MX: Allow thermal probe to fail gracefully in case of bad calibrat... (diff)
downloadlinux-9bebf3485c6a365ef0b7e83443a707eda2abc78b.tar.xz
linux-9bebf3485c6a365ef0b7e83443a707eda2abc78b.zip
thermal: ti-soc-thermal: remove dead code
Majority of this code (i.e. functions from ti-bandgap.c) has been introduced in May 2013 by commit eb982001dbd8 ("thermal: introduce TI SoC thermal driver"). Just remove it altogether (in case it is needed it can be easily resurrected from git repo). While at it fix incorrect "not used" comments. Tested-by: Keerthy <j-keerthy@ti.com> Acked-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/ti-soc-thermal/omap3-thermal-data.c')
-rw-r--r--drivers/thermal/ti-soc-thermal/omap3-thermal-data.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/thermal/ti-soc-thermal/omap3-thermal-data.c b/drivers/thermal/ti-soc-thermal/omap3-thermal-data.c
index c6d217913dd1..f5366807daf0 100644
--- a/drivers/thermal/ti-soc-thermal/omap3-thermal-data.c
+++ b/drivers/thermal/ti-soc-thermal/omap3-thermal-data.c
@@ -48,9 +48,6 @@ omap34xx_mpu_temp_sensor_registers = {
static struct temp_sensor_data omap34xx_mpu_temp_sensor_data = {
.min_freq = 32768,
.max_freq = 32768,
- .max_temp = 125000,
- .min_temp = -40000,
- .hyst_val = 5000,
};
/*
@@ -119,9 +116,6 @@ omap36xx_mpu_temp_sensor_registers = {
static struct temp_sensor_data omap36xx_mpu_temp_sensor_data = {
.min_freq = 32768,
.max_freq = 32768,
- .max_temp = 125000,
- .min_temp = -40000,
- .hyst_val = 5000,
};
/*