]> 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)
commit31a82a7801541e9d3328a0153f646ac2d9ad2cb1
treefaf753a3709e5bd9e1d5b07f2048c5f079d24be1
parente6f8694e593b5a5f5e807bcaa5df13ab3a3a72a0
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