diff options
author | Ughreja, Rakesh A <rakesh.a.ughreja@intel.com> | 2017-12-01 12:13:19 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-01 15:48:16 +0300 |
commit | f0c5ebebacf3cc246e51e8814f5d4b22179f37bd (patch) | |
tree | 2a8e3f8f2dde5a7d171b57e961ae685cc9a57cd7 /sound/hda | |
parent | 72bc39cf53fabf56907f9d6c4b120fc49d9abc95 (diff) | |
download | linux-f0c5ebebacf3cc246e51e8814f5d4b22179f37bd.tar.xz |
ASoC: hdac_hdmi: clean up hdac_device variable names
This patch renames all the variable instances of hdac_device with hdev
to prepare the code base to remove the usage of hdac_ext_device
data structures done in the following patches. Existing code uses hdev
and hdac as variable names for hdac_device as well as hdac_ext_device,
which creates confusion.
Signed-off-by: Rakesh Ughreja <rakesh.a.ughreja@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/hda')
-rw-r--r-- | sound/hda/ext/hdac_ext_bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/hda/ext/hdac_ext_bus.c b/sound/hda/ext/hdac_ext_bus.c index 31b510c5ca0b..0daf31383084 100644 --- a/sound/hda/ext/hdac_ext_bus.c +++ b/sound/hda/ext/hdac_ext_bus.c @@ -146,7 +146,7 @@ int snd_hdac_ext_bus_device_init(struct hdac_ext_bus *ebus, int addr) edev = kzalloc(sizeof(*edev), GFP_KERNEL); if (!edev) return -ENOMEM; - hdev = &edev->hdac; + hdev = &edev->hdev; edev->ebus = ebus; snprintf(name, sizeof(name), "ehdaudio%dD%d", ebus->idx, addr); |