]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda - Refactor alc_kcontrol_new() usages
authorTakashi Iwai <tiwai@suse.de>
Thu, 29 Nov 2012 13:10:17 +0000 (14:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 30 Nov 2012 09:55:44 +0000 (10:55 +0100)
commit668d1e9673eddf7df3232e24a69dec8deba7331b
treefaf753a3709e5bd9e1d5b07f2048c5f079d24be1
parentb9030a005d5810ab9e3683469d928aa0b537a4c4
ALSA: hda - Refactor alc_kcontrol_new() usages

Allocate the name string and assign the structure in
alc_kcontrol_new() itself to reduce the code.

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