From: Tomasz Figa Date: Sun, 11 Aug 2013 00:33:30 +0000 (+0200) Subject: spi: s3c64xx: Use dmaengine_prep_slave_single() to prepare DMA transfers X-Git-Tag: v3.12-rc1~192^2~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90438c4bf987a653ad8679a4fa25a909f0c642b5;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed