diff mbox series

[2/5] ASoC: tegra: tegra20_das: Remove unused function tegra20_das_read

Message ID 20220629194224.175607-2-u.kleine-koenig@pengutronix.de
State Accepted
Commit 9a99b9b26451ca2a81867ce0cd8fe18dce856a8c
Headers show
Series [1/5] ASoC: tegra: tegra20_das: Fold header file into only user | expand

Commit Message

Uwe Kleine-König June 29, 2022, 7:42 p.m. UTC
This function is unused since commit 7203a62562dc ("ASoC: convert
Tegra20 DAS driver to regmap").

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 sound/soc/tegra/tegra20_das.c | 8 --------
 1 file changed, 8 deletions(-)
diff mbox series

Patch

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;