ALSA: ca0106: Simplify with snd_ctl_find_id_mixer()
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Jul 2023 08:20:59 +0000 (10:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2023 07:10:39 +0000 (09:10 +0200)
commit7affe6fd2a3a75ad0f052bc7e9965b38807bb113
tree4777b8e1603ed82335ad1562db97220a9a7ed194
parent68fa05d4a82b8f4ca6fa85be85833e35bd6ebef9
ALSA: ca0106: 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-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ca0106/ca0106_mixer.c