ASoC: wm_adsp: Sanitize parameter passing
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Thu, 1 Aug 2013 10:11:28 +0000 (11:11 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 1 Aug 2013 10:58:46 +0000 (11:58 +0100)
commit92bb4c32708ee3e1d6eb0e185d678dab35152daf
tree9a9da804625ca03c0a9a45d74b6edf737ea84fad
parent81ad93ecfda64cb37129d29adb384affd0d0fa5b
ASoC: wm_adsp: Sanitize parameter passing

No need to hold on to the `codec' pointer.  We can use the `dsp'
pointer and grab all the information we need from there.  This
makes the parameters for the functions a bit more sane and idiomatic.

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