[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250304140500.976127-2-ckeepax@opensource.cirrus.com>
Date: Tue, 4 Mar 2025 14:04:48 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: <broonie@...nel.org>
CC: <lgirdwood@...il.com>, <peda@...ntia.se>, <andrei.simion@...rochip.com>,
<nuno.sa@...log.com>, <paul@...pouillou.net>, <oder_chiou@...ltek.com>,
<kiseok.jo@...ndevice.com>, <shenghao-ding@...com>, <kevin-lu@...com>,
<baojun.xu@...com>, <srinivas.kandagatla@...aro.org>,
<linux-sound@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<patches@...nsource.cirrus.com>
Subject: [PATCH v3 01/13] ASoC: Remove unused helper macro
SOC_SINGLE_VALUE_EXT() has no users, so remove it.
Signed-off-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
---
No change since v2.
include/sound/soc.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 6bb2fca044c5e..01151a6ada350 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -51,9 +51,6 @@ struct platform_device;
.sign_bit = xsign_bit, .invert = xinvert, .autodisable = xautodisable})
#define SOC_SINGLE_VALUE(xreg, xshift, xmax, xinvert, xautodisable) \
SOC_DOUBLE_VALUE(xreg, xshift, xshift, xmax, xinvert, xautodisable)
-#define SOC_SINGLE_VALUE_EXT(xreg, xmax, xinvert) \
- ((unsigned long)&(struct soc_mixer_control) \
- {.reg = xreg, .max = xmax, .invert = xinvert})
#define SOC_DOUBLE_R_VALUE(xlreg, xrreg, xshift, xmax, xinvert) \
((unsigned long)&(struct soc_mixer_control) \
{.reg = xlreg, .rreg = xrreg, .shift = xshift, .rshift = xshift, \
--
2.39.5
Powered by blists - more mailing lists