ASoC: wm_adsp: Simplify kcontrol handling
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Mon, 29 Jul 2013 12:51:59 +0000 (13:51 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 29 Jul 2013 14:39:11 +0000 (15:39 +0100)
commit81ad93ecfda64cb37129d29adb384affd0d0fa5b
tree7c560ec6c39ca529f99320e6fab838f8edc8e06c
parent4fefd69853a4e83040ddaa98d3b6e5e12cc4f97a
ASoC: wm_adsp: Simplify kcontrol handling

Get rid off the wm_coeff struct and the wm_coeff_add_kcontrol()
function.  We are now using the snd_soc_card_kcontrol() function to
get the kcontrol pointers.  No need to call into ALSA code to
register the kcontrols.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h