diff options
author | Rakesh Ughreja <rakesh.a.ughreja@intel.com> | 2018-06-02 05:53:51 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-06-28 07:33:29 +0200 |
commit | e1df9317cbb192582ed7aa88c5f294c2336a3c75 (patch) | |
tree | 2d5e34f9a37181d332a7d4ee6d3cfa85f393257b /sound/soc/codecs/hdac_hdmi.c | |
parent | ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus instead (diff) | |
download | linux-e1df9317cbb192582ed7aa88c5f294c2336a3c75.tar.xz linux-e1df9317cbb192582ed7aa88c5f294c2336a3c75.zip |
ALSA: hdac: Remove usage of struct hdac_ext_driver, use hdac_driver instead
This patch removes the hdac_ext_driver structure. The legacy and
enhanced HDaudio capabilities can be handled in a backward-compatible
way without separate definitions.
Signed-off-by: Rakesh Ughreja <rakesh.a.ughreja@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/hdac_hdmi.c')
-rw-r--r-- | sound/soc/codecs/hdac_hdmi.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c index c3ccc8d9c91d..3e3a2a9ef310 100644 --- a/sound/soc/codecs/hdac_hdmi.c +++ b/sound/soc/codecs/hdac_hdmi.c @@ -2186,14 +2186,12 @@ static const struct hda_device_id hdmi_list[] = { MODULE_DEVICE_TABLE(hdaudio, hdmi_list); -static struct hdac_ext_driver hdmi_driver = { - . hdac = { - .driver = { - .name = "HDMI HDA Codec", - .pm = &hdac_hdmi_pm, - }, - .id_table = hdmi_list, +static struct hdac_driver hdmi_driver = { + .driver = { + .name = "HDMI HDA Codec", + .pm = &hdac_hdmi_pm, }, + .id_table = hdmi_list, .probe = hdac_hdmi_dev_probe, .remove = hdac_hdmi_dev_remove, }; |