ALSA: hda/realtek - Use common helper for creating ALC268 beep controls
authorTakashi Iwai <tiwai@suse.de>
Wed, 20 Jun 2018 10:50:11 +0000 (12:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 Jun 2018 08:04:25 +0000 (10:04 +0200)
commita5cb463a81737dde1ef3f1b1cf3e17bf69f20669
treeef5c3cb3aa65748eedc5e894c68692fa62f5f271
parentdf73d83fad97237b68949058e632b48d55533c09
ALSA: hda/realtek - Use common helper for creating ALC268 beep controls

The beep mixer controls are the only remaining stuff that uses
spec->mixers[] array, and they can be well converted to the standard
helper in the generic parser, snd_hda_gen_add_kctl().

This simplifies the code, especially the superfluous mixers and
num_mixers fields can be now removed from alc_spec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c