[ALSA] soc - DAPM - Add bulk control registration
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 13 May 2008 12:51:19 +0000 (14:51 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 19 May 2008 11:19:18 +0000 (13:19 +0200)
commit4ba1327ab8ce179c40862f3dedb4ebaaa491d737
tree1f521aa3f9fc27f45df48e6316062ae1d882b5f4
parentca1f30ad6c3f002d1d9b9355a53b8bbf2fe70588
[ALSA] soc - DAPM - Add bulk control registration

Most SoC drivers cut'n'paste a loop iterating over an array to register
their DAPM controls.  Provide a function they can call instead.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Graeme Gregory <graeme@openmoko.org>
Cc: Frank Mandarino <fmandarino@endrelia.com>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c