ALSA: hda - simplify usage of HDA_SUBDEV_AMP_FLAG
authorJaroslav Kysela <perex@perex.cz>
Thu, 10 Dec 2009 12:57:01 +0000 (13:57 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 15 Dec 2009 08:33:32 +0000 (09:33 +0100)
The HDA_SUBDEV_NID_FLAG is duplicate for amplifier control elements. Move
get_amp_nid_() call to the snd_hda_ctl_add() function.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>

No differences found