diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2022-08-16 14:17:26 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-08-18 10:47:09 +0300 |
commit | fb5987844808bf9abeb23f695e94b75b439daa42 (patch) | |
tree | bdd1dc7fd4e4002f9d39fd87b2244aea82f6c867 /include/sound/hda_codec.h | |
parent | 0c5c29cafcea20f1f6a9943640e4a5a790e259ee (diff) | |
download | linux-fb5987844808bf9abeb23f695e94b75b439daa42.tar.xz |
ALSA: hda: Remove codec init and exit routines
There are no users for snd_hdac_ext_bus_device_init() and
snd_hdac_ext_bus_device_exit().
While at it, remove hdac_to_hda_priv() too for the exact same reason.
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220816111727.3218543-6-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/hda_codec.h')
-rw-r--r-- | include/sound/hda_codec.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/hda_codec.h b/include/sound/hda_codec.h index 6d3c82c4b6ac..2a8fe7240f10 100644 --- a/include/sound/hda_codec.h +++ b/include/sound/hda_codec.h @@ -293,8 +293,6 @@ struct hda_codec { #define dev_to_hda_codec(_dev) container_of(_dev, struct hda_codec, core.dev) #define hda_codec_dev(_dev) (&(_dev)->core.dev) -#define hdac_to_hda_priv(_hdac) \ - container_of(_hdac, struct hdac_hda_priv, codec.core) #define hdac_to_hda_codec(_hdac) container_of(_hdac, struct hda_codec, core) #define list_for_each_codec(c, bus) \ |