spi: atmel: trivial: remove unused fields in DMA structure
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 24 Nov 2016 11:25:00 +0000 (12:25 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 25 Nov 2016 13:07:25 +0000 (13:07 +0000)
The atmel_spi_dma structure was cluttered with unused fields relative
to older DMA channel selection API. Remove them.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-atmel.c

index 7e03e221d307fec6b271e1c8f0a939770fe52b17..1a21bc6f7d7a8a8751dec7050411e9879c6a475f 100644 (file)
 struct atmel_spi_dma {
        struct dma_chan                 *chan_rx;
        struct dma_chan                 *chan_tx;
-       struct dma_async_tx_descriptor  *data_desc_rx;
-       struct dma_async_tx_descriptor  *data_desc_tx;
-
-       struct at_dma_slave     dma_slave;
 };
 
 struct atmel_spi_caps {