ALSA: maestro3: Simplify with snd_ctl_find_id_mixer()
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Jul 2023 08:21:04 +0000 (10:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2023 07:10:42 +0000 (09:10 +0200)
commit233913c0bc60cf2ce68d5399da430b872c813a5e
tree658f2b07695a1fd151ca6a4c0d4b30745d885885
parent171c983027c7790d44902531e7e90ab01bee3b17
ALSA: maestro3: 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-8-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/maestro3.c