[PATCH 2/5] ASoC: tegra: tegra20_das: Remove unused function tegra20_das_read
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Wed Jun 29 21:42:21 CEST 2022
This function is unused since commit 7203a62562dc ("ASoC: convert
Tegra20 DAS driver to regmap").
Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
sound/soc/tegra/tegra20_das.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/sound/soc/tegra/tegra20_das.c b/sound/soc/tegra/tegra20_das.c
index d2801130a986..4e23fd96c745 100644
--- a/sound/soc/tegra/tegra20_das.c
+++ b/sound/soc/tegra/tegra20_das.c
@@ -104,14 +104,6 @@ static inline void tegra20_das_write(u32 reg, u32 val)
regmap_write(das->regmap, reg, val);
}
-static inline u32 tegra20_das_read(u32 reg)
-{
- u32 val;
-
- regmap_read(das->regmap, reg, &val);
- return val;
-}
-
static int tegra20_das_connect_dap_to_dac(int dap, int dac)
{
u32 addr;
--
2.36.1
More information about the Alsa-devel
mailing list