ASoC: soc-cache: Factor-out the SPI write code
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 22 Mar 2011 10:37:00 +0000 (10:37 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 26 Mar 2011 17:44:56 +0000 (17:44 +0000)
commit30539a18d366cff6b21f66a81e4d9dccc4a90c89
treeb09d68bd592f85ac05d617d5ce40ec623c36c9c0
parentb8cbc195202d05efcda6af81c669577e3cb793e5
ASoC: soc-cache: Factor-out the SPI write code

The handling of all snd_soc_x_y_spi_write() functions is similar.
Create a separate function and update all callers to use it.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-cache.c