From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org> Cc: Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 2/5] ASoC: tegra: tegra20_das: Remove unused function tegra20_das_read Date: Wed, 29 Jun 2022 21:42:21 +0200 [thread overview] Message-ID: <20220629194224.175607-2-u.kleine-koenig@pengutronix.de> (raw) In-Reply-To: <20220629194224.175607-1-u.kleine-koenig@pengutronix.de> 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 --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
WARNING: multiple messages have this Message-ID (diff)
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org> Cc: linux-tegra@vger.kernel.org, alsa-devel@alsa-project.org, Thierry Reding <thierry.reding@gmail.com>, kernel@pengutronix.de, Jonathan Hunter <jonathanh@nvidia.com> Subject: [PATCH 2/5] ASoC: tegra: tegra20_das: Remove unused function tegra20_das_read Date: Wed, 29 Jun 2022 21:42:21 +0200 [thread overview] Message-ID: <20220629194224.175607-2-u.kleine-koenig@pengutronix.de> (raw) In-Reply-To: <20220629194224.175607-1-u.kleine-koenig@pengutronix.de> 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 --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
next prev parent reply other threads:[~2022-06-29 19:42 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-06-29 19:42 [PATCH 1/5] ASoC: tegra: tegra20_das: Fold header file into only user Uwe Kleine-König 2022-06-29 19:42 ` Uwe Kleine-König 2022-06-29 19:42 ` Uwe Kleine-König [this message] 2022-06-29 19:42 ` [PATCH 2/5] ASoC: tegra: tegra20_das: Remove unused function tegra20_das_read Uwe Kleine-König 2022-06-29 19:42 ` [PATCH 3/5] ASoC: tegra: tegra20_das: Get rid of global pointer for driver data Uwe Kleine-König 2022-06-29 19:42 ` Uwe Kleine-König 2022-06-29 19:42 ` [PATCH 4/5] ASoC: tegra: tegra20_das: Make helper functions return void Uwe Kleine-König 2022-06-29 19:42 ` Uwe Kleine-König 2022-06-29 19:42 ` [PATCH 5/5] ASoC: tegra: tegra20_das: Drop write-only driver data member Uwe Kleine-König 2022-06-29 19:42 ` Uwe Kleine-König 2022-07-06 11:07 ` [PATCH 1/5] ASoC: tegra: tegra20_das: Fold header file into only user Mark Brown
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220629194224.175607-2-u.kleine-koenig@pengutronix.de \ --to=u.kleine-koenig@pengutronix.de \ --cc=alsa-devel@alsa-project.org \ --cc=broonie@kernel.org \ --cc=jonathanh@nvidia.com \ --cc=kernel@pengutronix.de \ --cc=lgirdwood@gmail.com \ --cc=linux-tegra@vger.kernel.org \ --cc=thierry.reding@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.