thermal/drivers/mediatek/lvts_thermal: Remove unused members from struct lvts_ctrl_data
authorJulien Panis <jpanis@baylibre.com>
Fri, 3 May 2024 15:35:13 +0000 (17:35 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 6 May 2024 08:33:26 +0000 (10:33 +0200)
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
drivers/thermal/mediatek/lvts_thermal.c

index 20a64b68f9c05f3b813ab2aa4c61a553f13d1083..4fa5e74cbcc8bbcf2cd8e11d61eae1b629b6adbb 100644 (file)
@@ -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;