ASoC: omap: Use single hw_params callback in sdp3430 and zoom2
authorJarkko Nikula <jarkko.nikula@bitmer.com>
Fri, 30 Sep 2011 13:07:46 +0000 (16:07 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 2 Oct 2011 18:57:08 +0000 (19:57 +0100)
commita3c6dac201005077f78ea5b18c89e6cd568e2d85
tree3aaf576c63106d03749334d33c5b9a7566d6d344
parentcf9feff28fc1f00c82fb0cc016307d4c65da132a
ASoC: omap: Use single hw_params callback in sdp3430 and zoom2

There is no need to use two hw_params callbacks in sdp3430 and zoom2 as
thet are now identical. Use instead the same snd_soc_ops structure and
hw_params callback for both DAI links.

Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/sdp3430.c
sound/soc/omap/zoom2.c