ALSA: hda: Replace numeric device IDs with constant values
authorRui Salvaterra <rsalvaterra@gmail.com>
Mon, 22 Jan 2024 11:45:12 +0000 (11:45 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Jan 2024 07:49:25 +0000 (08:49 +0100)
commit3526860f26febbe46960f9b37f5dbd5ccc109ea8
treed9f7df57945c6549060310fd898d09fbbf1b121e
parent1513664f340289cf10402753110f3cff12a738aa
ALSA: hda: Replace numeric device IDs with constant values

We have self-explanatory constants for Intel HDA devices, let's use them instead
of magic numbers and code comments.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20240122114512.55808-2-rsalvaterra@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c