]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: tegra: tegra20_das: Remove unused function tegra20_das_read
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 29 Jun 2022 19:42:21 +0000 (21:42 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 5 Jul 2022 18:53:56 +0000 (19:53 +0100)
This function is unused since commit d554a63c2c6d ("ASoC: convert
Tegra20 DAS driver to regmap").

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220629194224.175607-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra20_das.c

index d2801130a986d332c91ea83a9214339707b75792..4e23fd96c74542afd15c7c6a1f63d0a6a3212794 100644 (file)
@@ -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;