Skip to content

Commit

Permalink
thermal/drivers/mediatek/lvts_thermal: Remove unused members from str…
Browse files Browse the repository at this point in the history
…uct 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
  • Loading branch information
Julien Panis authored and Daniel Lezcano committed May 6, 2024
1 parent a1191a7 commit e2d2266
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/thermal/mediatek/lvts_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e2d2266

Please sign in to comment.