diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2016-09-07 10:04:06 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-12 15:01:27 -0400 |
commit | 4fc0caac065dbf300238997c7d2c212a2b120099 (patch) | |
tree | 495a2497f84650f4674f00bb67f9d155638fc4ee /drivers/spi/spi-pxa2xx.h | |
parent | bffc967e93c771805739a4cc4c7849a749a7b0a6 (diff) |
spi: pxa2xx: Remove pointer to current SPI message from driver data
There is no need to carry pointer to current SPI message in driver data
because cur_msg in struct spi_master holds it already when driver is using
the message queueing infrastructure from the SPI core.
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.h')
-rw-r--r-- | drivers/spi/spi-pxa2xx.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h index d217ad55cc12..4f858664cee1 100644 --- a/drivers/spi/spi-pxa2xx.h +++ b/drivers/spi/spi-pxa2xx.h | |||
@@ -53,7 +53,6 @@ struct driver_data { | |||
53 | atomic_t dma_running; | 53 | atomic_t dma_running; |
54 | 54 | ||
55 | /* Current message transfer state info */ | 55 | /* Current message transfer state info */ |
56 | struct spi_message *cur_msg; | ||
57 | struct spi_transfer *cur_transfer; | 56 | struct spi_transfer *cur_transfer; |
58 | struct chip_data *cur_chip; | 57 | struct chip_data *cur_chip; |
59 | size_t len; | 58 | size_t len; |