From patchwork Tue Mar 4 15:15:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 14001087 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8FDCDC282D2 for ; Tue, 4 Mar 2025 16:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mwcp+k7ZQvRTd7IQ5/92ptIUxiRcw/r4u9UflcpI4Vg=; b=OoAyOuahOVk1d7ueB3FLP8W903 0Rt5JB8MGyasVLWyAOt4CE4Ppdt9XTyxkvo+ALsnPK3oyyunnFhbNZe1x5LctRvgXQhrygWMnMgLK IdwRdwTJd/2cT92nq9/KsjOVub6azG9PHu1TNCbh5l8rA4RIEAa7+pcZLMqEeUSEdU9zFdxgVfFtc l4vbHwcj7ddl0ch/wvzQI5Z92NT7LI6Vjz5eXBcI9usW2eGZ/8v/ySNSQ3KJ8OW8LjXRzzwle4E8n l4jOkzGUOybNax/medrRDYM1iyaRpnt67N7OdchoMnYKnMXj8tLkqieinE/d2EUsx0uyU6FJUdIT/ GLSyjLdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tpUn1-00000005Lq8-2PEV; Tue, 04 Mar 2025 16:06:39 +0000 Received: from bali.collaboradmins.com ([148.251.105.195]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tpU17-00000005AHi-4B7u; Tue, 04 Mar 2025 15:17:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1741101428; bh=nJmb237CbucvJKm/CuN9D5tE8zn4QuoUQDJSwYS6fXw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=qmqkfvkP0Gh+lKERZlY58uo7oySkpW3JyvAalnFeb0hRipRqj9SbTNyMFb3zaZQYN Dvj36VPKyzUaecc5EGdfnocR7JAXehiuV/y5GJRwqAVJy1q+WHi3pv1COvsHJo22pO vhUmZ/GER6J2BCJZVJWNFvb42DEfBDLmiCdUUBkLvveuVWMUasjU86dTtCdME/7z7F oZ4ZLKpyj6b1aM06Zc5GQvnO+t/Cnh+ghzplDNTv8Cc6WbMAyit517Gjt3uWkMOT77 AOKY81R+kavb08EmS+qRU8sWQi5TL26yCtOue2ZUQn41ymxFa82TnpJRCKL7gWnrt3 AoyfRR9z2i9jg== Received: from [192.168.0.47] (unknown [IPv6:2804:14c:1a9:53ee::1001]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by bali.collaboradmins.com (Postfix) with ESMTPSA id 8B9E017E0630; Tue, 4 Mar 2025 16:17:03 +0100 (CET) From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Date: Tue, 04 Mar 2025 12:15:52 -0300 Subject: [PATCH v3 11/20] ASoC: mediatek: mt6359-accdet: Drop unused moisture variables MIME-Version: 1.0 Message-Id: <20250304-mt6359-accdet-dts-v3-11-5b0eafc29f5b@collabora.com> References: <20250304-mt6359-accdet-dts-v3-0-5b0eafc29f5b@collabora.com> In-Reply-To: <20250304-mt6359-accdet-dts-v3-0-5b0eafc29f5b@collabora.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Sen Chu , Sean Wang , Macpaul Lin , Lee Jones , Jaroslav Kysela , Takashi Iwai , Catalin Marinas , Will Deacon Cc: kernel@collabora.com, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-pm@vger.kernel.org, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Mailer: b4 0.14.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250304_071710_177693_1DC34A55 X-CRM114-Status: UNSURE ( 8.25 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The dts_data struct contains several variables for moisture configuration that are simply never used. Drop them. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: NĂ­colas F. R. A. Prado --- 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 {