diff options
author | Ughreja, Rakesh A <rakesh.a.ughreja@intel.com> | 2017-12-01 04:13:19 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-01 07:48:16 -0500 |
commit | f0c5ebebacf3cc246e51e8814f5d4b22179f37bd (patch) | |
tree | 2a8e3f8f2dde5a7d171b57e961ae685cc9a57cd7 /sound/hda | |
parent | 72bc39cf53fabf56907f9d6c4b120fc49d9abc95 (diff) |
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) | |||
146 | edev = kzalloc(sizeof(*edev), GFP_KERNEL); | 146 | edev = kzalloc(sizeof(*edev), GFP_KERNEL); |
147 | if (!edev) | 147 | if (!edev) |
148 | return -ENOMEM; | 148 | return -ENOMEM; |
149 | hdev = &edev->hdac; | 149 | hdev = &edev->hdev; |
150 | edev->ebus = ebus; | 150 | edev->ebus = ebus; |
151 | 151 | ||
152 | snprintf(name, sizeof(name), "ehdaudio%dD%d", ebus->idx, addr); | 152 | snprintf(name, sizeof(name), "ehdaudio%dD%d", ebus->idx, addr); |