ALSA: ac97: Use snd_ctl_enum_info()
authorTakashi Iwai <tiwai@suse.de>
Mon, 20 Oct 2014 16:15:36 +0000 (18:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Oct 2014 06:49:43 +0000 (08:49 +0200)
commit3b7a00dc9e4277d6fcad68dd1db35f77264ede5f
treee3e0dd35d1774892e3a2e423c0ad614a5a59fa61
parent3c6a73cc6b6ccd9188b3405c744365c0874b9274
ALSA: ac97: Use snd_ctl_enum_info()

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

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ac97/ac97_codec.c
sound/pci/ac97/ac97_patch.c