ALSA: doc: Recommend the use of snd_ctl_elem_info()
authorTakashi Iwai <tiwai@suse.de>
Mon, 20 Oct 2014 16:06:04 +0000 (18:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Oct 2014 16:06:04 +0000 (18:06 +0200)
commitbe93709cb13a1947fec3493267d04cd87baf497e
tree5ad4bfe98e2f61af22144f02728c0af486046595
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ALSA: doc: Recommend the use of snd_ctl_elem_info()

Instead of the open code for the info call back of enum elements,
recommend the use of snd_ctl_elem_info(), which will reduce lots of
codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/DocBook/writing-an-alsa-driver.tmpl