summaryrefslogtreecommitdiff
path: root/drivers/thermal/mediatek/lvts_thermal.c
diff options
context:
space:
mode:
authorJulien Panis <jpanis@baylibre.com>2024-05-03 18:35:13 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-05-06 11:33:26 +0300
commite2d2266a2ac1da67a74c855c24ed3acb54a1e410 (patch)
tree753943589a8490d548001a253d648bfd535b3e51 /drivers/thermal/mediatek/lvts_thermal.c
parenta1191a77351e25ddf091bb1a231cae12ee598b5d (diff)
downloadlinux-e2d2266a2ac1da67a74c855c24ed3acb54a1e410.tar.xz
thermal/drivers/mediatek/lvts_thermal: Remove unused members from struct lvts_ctrl_data
In struct lvts_ctrl_data, num_lvts_sensor and cal_offset[] are not used. Signed-off-by: Julien Panis <jpanis@baylibre.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Nicolas Pitre <npitre@baylibre.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20240503-mtk-thermal-lvts-ctrl-idx-fix-v1-1-f605c50ca117@baylibre.com
Diffstat (limited to 'drivers/thermal/mediatek/lvts_thermal.c')
-rw-r--r--drivers/thermal/mediatek/lvts_thermal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/thermal/mediatek/lvts_thermal.c b/drivers/thermal/mediatek/lvts_thermal.c
index 20a64b68f9c0..4fa5e74cbcc8 100644
--- a/drivers/thermal/mediatek/lvts_thermal.c
+++ b/drivers/thermal/mediatek/lvts_thermal.c
@@ -105,8 +105,6 @@ struct lvts_sensor_data {
struct lvts_ctrl_data {
struct lvts_sensor_data lvts_sensor[LVTS_SENSOR_MAX];
- int cal_offset[LVTS_SENSOR_MAX];
- int num_lvts_sensor;
u8 valid_sensor_mask;
int offset;
int mode;