ALSA: hda: Use hdac_to_hda_codec macro
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 5 May 2020 03:03:53 +0000 (11:03 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 May 2020 06:59:02 +0000 (08:59 +0200)
commit8c11827bba724046fec50a1f16a205bbea3eeb08
treef31740c6fd7c80f88d58d1467f50e0b30db5fd25
parent50f0bf550f835f0a4251fa99894db09234c12075
ALSA: hda: Use hdac_to_hda_codec macro

Use hdac_to_hda_codec() instead of container_of().

No functional change intended.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Link: https://lore.kernel.org/r/20200505030357.28004-2-kai.heng.feng@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hda_codec.h
sound/pci/hda/patch_hdmi.c
sound/soc/codecs/hdac_hda.h