]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: Remove unused hw_write_t type
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Fri, 10 Jun 2022 12:44:20 +0000 (14:44 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jun 2022 15:21:41 +0000 (16:21 +0100)
Commit a299af034fc6 ("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: a299af034fc6 ("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>
include/sound/soc.h

index f20f5f890794ab8b051b8cb7c5c7a16ce0b6afce..b276dcb5d4e8b1f827ab52c9773ea90c228f484a 100644 (file)
@@ -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,