OSDN Git Service

ALSA: ac97: Simplify with snd_ctl_find_id_mixer()
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Jul 2023 08:21:08 +0000 (10:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2023 07:11:24 +0000 (09:11 +0200)
commitebc1bfebdacab9e7fd77eec2c5dbcef73980ab00
tree1522d2df731888dbf11e282e93615d2031ee2b3d
parentca141fe31df06fd5769e3d1d41e2a7b68b308243
ALSA: ac97: 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-12-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ac97/ac97_patch.c