ALSA: ac97: Use the standard snd_ctl_add_followers() helper
authorTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2023 07:16:41 +0000 (09:16 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2023 07:37:48 +0000 (09:37 +0200)
commit1caf64d91f72321191f7dc24d8e950222acc9bfa
treee9e75e0940f46c0481eedaf4ab37541725e977f5
parentae07eb9bf23e1a52cdb28222a71eb014131018d8
ALSA: ac97: Use the standard snd_ctl_add_followers() helper

Instead of open-code, use the new standard helper to manage vmaster
stuff for code simplification.

Except for a debug print, there should be no functional change.

Link: https://lore.kernel.org/r/20230721071643.3631-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ac97/ac97_patch.c