ALSA: hda: Use dev_to_hdac_dev macro
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 5 May 2020 03:03:52 +0000 (11:03 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 5 May 2020 06:58:35 +0000 (08:58 +0200)
commit50f0bf550f835f0a4251fa99894db09234c12075
tree6e8d3395ce74512bc169c05efa34395e03dac01b
parent60019d8c650d20a7363285f88f4177dd48d029a7
ALSA: hda: Use dev_to_hdac_dev macro

Use dev_to_hdac_dev() 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-1-kai.heng.feng@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/ext/hdac_ext_bus.c
sound/hda/hdac_device.c