summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>2022-06-10 14:44:20 +0200
committerMark Brown <broonie@kernel.org>2022-06-24 16:21:41 +0100
commit12abc4d10d5502e4f3d8f1c6f9e8245747a44708 (patch)
treea3044e007049389b5e1e0f911d77de15bfee674d
parentaf2d146a8041c67efdd620c9463973ce0650b7b7 (diff)
downloadlinux-12abc4d10d5502e4f3d8f1c6f9e8245747a44708.tar.gz
linux-12abc4d10d5502e4f3d8f1c6f9e8245747a44708.tar.bz2
linux-12abc4d10d5502e4f3d8f1c6f9e8245747a44708.zip
ASoC: Remove unused hw_write_t type
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> Link: https://lore.kernel.org/r/20220610124420.4160986-1-amadeuszx.slawinski@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--include/sound/soc.h2
1 files changed, 0 insertions, 2 deletions
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,