spi: dw-mid: refactor to use helpers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 28 Oct 2014 16:25:01 +0000 (18:25 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 28 Oct 2014 22:40:38 +0000 (22:40 +0000)
commita5c2db964d3eb26b41bd7abc1b13486f732b3aa2
treec1ac9e5491f7c46ca33f56fba0fed223d35aee7b
parentb7a40242c82cd73cfcea305f23e67d068dd8401a
spi: dw-mid: refactor to use helpers

This patch splits few helpers, namely dw_spi_dma_prepare_rx(),
dw_spi_dma_prepare_tx(), and dw_spi_dma_setup() which will be useful for the
consequent improvements.

There is no functional change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-mid.c