[PATCH v3 11/20] ASoC: mediatek: mt6359-accdet: Drop unused moisture variables
From: Nícolas F. R. A. Prado
Date: Tue Mar 04 2025 - 10:37:39 EST
The dts_data struct contains several variables for moisture
configuration that are simply never used. Drop them.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>
---
sound/soc/codecs/mt6359-accdet.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/sound/soc/codecs/mt6359-accdet.h b/sound/soc/codecs/mt6359-accdet.h
index 54a33a0f0e084f80df33386b3df9bba9525fa880..38c36d59b9cc68bd90e16137a05a62b521b75ac1 100644
--- a/sound/soc/codecs/mt6359-accdet.h
+++ b/sound/soc/codecs/mt6359-accdet.h
@@ -74,14 +74,9 @@ struct dts_data {
unsigned int mic_mode;
bool hp_eint_high;
struct pwm_deb_settings *pwm_deb;
- unsigned int moisture_detect_enable;
unsigned int eint_detect_mode;
unsigned int eint_use_ext_res;
unsigned int eint_comp_vth;
- unsigned int moisture_detect_mode;
- unsigned int moisture_comp_vth;
- unsigned int moisture_comp_vref2;
- unsigned int moisture_use_ext_res;
};
struct mt6359_accdet {
--
2.48.1