ASoC: mediatek: mt8188: Simplify with snd_ctl_find_id_mixer()
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Jul 2023 08:21:07 +0000 (10:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2023 07:11:02 +0000 (09:11 +0200)
commitca141fe31df06fd5769e3d1d41e2a7b68b308243
tree098bbfb8f0cb00ea74adae5aa190fb4d1c52c6db
parentb6ba0aa46138a9dd0ebad718f761814d6071605d
ASoC: mediatek: mt8188: Simplify with snd_ctl_find_id_mixer()

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

Acked-by: Mark Brown <broonie@kernel.org>
Cc: Trevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20230720082108.31346-11-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/mediatek/mt8188/mt8188-mt6359.c