diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2018-04-17 16:20:00 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-04-17 18:11:21 +0200 |
commit | 1f99f8938bcd90d1b98d66b4ec6e2585ead488f2 (patch) | |
tree | 82df9171383286eb4771b8f31d0ecd24d530ae13 /drivers/spi/spi-pxa2xx-dma.c | |
parent | spi: spi-s3c64xx: Fix indentation in the register offset definitions (diff) | |
download | linux-1f99f8938bcd90d1b98d66b4ec6e2585ead488f2.tar.xz linux-1f99f8938bcd90d1b98d66b4ec6e2585ead488f2.zip |
spi: pxa2xx: Remove unused argument from pxa2xx_spi_dma_prepare()
Current DMA engine implementation of pxa2xx_spi_dma_prepare() don't use
the dma_burst argument. Remove it since it became unused after
commit 6356437e65c2 ("spi: spi-pxa2xx: remove legacy PXA DMA bits").
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx-dma.c')
-rw-r--r-- | drivers/spi/spi-pxa2xx-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-pxa2xx-dma.c b/drivers/spi/spi-pxa2xx-dma.c index 3d7f66080c57..5d0d8fe07966 100644 --- a/drivers/spi/spi-pxa2xx-dma.c +++ b/drivers/spi/spi-pxa2xx-dma.c @@ -144,7 +144,7 @@ irqreturn_t pxa2xx_spi_dma_transfer(struct driver_data *drv_data) return IRQ_NONE; } -int pxa2xx_spi_dma_prepare(struct driver_data *drv_data, u32 dma_burst) +int pxa2xx_spi_dma_prepare(struct driver_data *drv_data) { struct dma_async_tx_descriptor *tx_desc, *rx_desc; int err; |