ALSA: via82xx: Simplify with snd_ctl_find_id_mixer()
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Jul 2023 08:21:05 +0000 (10:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2023 07:10:43 +0000 (09:10 +0200)
commita16ea09d2254a03dca61818c884a6c36233f63dc
tree93221626be385c36e92f009e9a255c440af31c91
parent233913c0bc60cf2ce68d5399da430b872c813a5e
ALSA: via82xx: Simplify with snd_ctl_find_id_mixer()

Replace an open code with the new snd_ctl_find_id_mixer().
There is no functional change.

Link: https://lore.kernel.org/r/20230720082108.31346-9-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/via82xx.c