ALSA: aw2: Use snd_ctl_enum_info()
authorTakashi Iwai <tiwai@suse.de>
Mon, 20 Oct 2014 16:16:01 +0000 (18:16 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Oct 2014 06:53:43 +0000 (08:53 +0200)
commit4d765e48c5edb2090b82e97680b2d1ddf6d18c31
tree5dd08b49a83ace0d6aa41a5a77b60bbaf0266504
parent30d0ae425ab1c9bb0003c3798de78fbf30ddebdc
ALSA: aw2: Use snd_ctl_enum_info()

... and reduce the open codes.  Also add missing const to the text array.

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