diff mbox series

ASoC: Remove unused hw_write_t type

Message ID 20220610124420.4160986-1-amadeuszx.slawinski@linux.intel.com (mailing list archive)
State Accepted
Commit 12abc4d10d5502e4f3d8f1c6f9e8245747a44708
Headers show
Series ASoC: Remove unused hw_write_t type | expand

Commit Message

Amadeusz Sławiński June 10, 2022, 12:44 p.m. UTC
Commit 81da8a0b7975 ("ASoC: remove codec hw_write/control_data") removed
use of hw_write_t in struct snd_soc_codec, but it left type definition.
Fully clean it up.

Fixes: 81da8a0b7975 ("ASoC: remove codec hw_write/control_data")
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
---
 include/sound/soc.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Mark Brown June 10, 2022, 6:21 p.m. UTC | #1
On Fri, 10 Jun 2022 14:44:20 +0200, Amadeusz Sławiński wrote:
> Commit 81da8a0b7975 ("ASoC: remove codec hw_write/control_data") removed
> use of hw_write_t in struct snd_soc_codec, but it left type definition.
> Fully clean it up.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: Remove unused hw_write_t type
      commit: 81eef68f3bb78f5b3dc29032ffd804a4a2d7aaf0

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/include/sound/soc.h b/include/sound/soc.h
index f20f5f890794..b276dcb5d4e8 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -408,8 +408,6 @@  struct snd_soc_jack_pin;
 
 struct snd_soc_jack_gpio;
 
-typedef int (*hw_write_t)(void *,const char* ,int);
-
 enum snd_soc_pcm_subclass {
 	SND_SOC_PCM_CLASS_PCM	= 0,
 	SND_SOC_PCM_CLASS_BE	= 1,