diff options
author | Tomasz Figa <tomasz.figa@gmail.com> | 2013-08-11 02:33:30 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-11 15:06:30 +0200 |
commit | 90438c4bf987a653ad8679a4fa25a909f0c642b5 (patch) | |
tree | 952bebf17e27d9a05b113f509c82cc372669b762 /drivers/acpi/processor_idle.c | |
parent | spi: s3c64xx: Do not request CS GPIO on subsequent calls to .setup() (diff) | |
download | linux-90438c4bf987a653ad8679a4fa25a909f0c642b5.tar.xz linux-90438c4bf987a653ad8679a4fa25a909f0c642b5.zip |
spi: s3c64xx: Use dmaengine_prep_slave_single() to prepare DMA transfers
Since the driver supports only contiguous buffers, there is no need to
manually construct a scatterlist with just a single entry, when there is
a dedicated helper for this purpose.
This patch modifies prepare_dma() function to use available helper instead
of manually creating a scatterlist.
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
0 files changed, 0 insertions, 0 deletions