]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitded7964c1b385489698998eccef44879b0b4139a
treefaf753a3709e5bd9e1d5b07f2048c5f079d24be1
parent68a6a09eb94a31f15ae255f03c3e2f910f9276f1
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