diff options
author | Baruch Siach <baruch@tkos.co.il> | 2013-12-26 09:00:15 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-30 13:18:09 +0000 |
commit | 0a47d3c40428fb8174ea36ede35267ddc7042f34 (patch) | |
tree | 72288370ecd4ecd07b35f990253a83b208c4e056 | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) | |
download | linux-0a47d3c40428fb8174ea36ede35267ddc7042f34.tar.gz linux-0a47d3c40428fb8174ea36ede35267ddc7042f34.tar.bz2 linux-0a47d3c40428fb8174ea36ede35267ddc7042f34.zip |
spi: dw: drop unused struct dw_spi field
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/spi/spi-dw.c | 1 | ||||
-rw-r--r-- | drivers/spi/spi-dw.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-dw.c b/drivers/spi/spi-dw.c index b897c4adb39d..abf4fd5a2a25 100644 --- a/drivers/spi/spi-dw.c +++ b/drivers/spi/spi-dw.c @@ -427,7 +427,6 @@ static void pump_transfers(unsigned long data) dws->tx_end = dws->tx + transfer->len; dws->rx = transfer->rx_buf; dws->rx_end = dws->rx + transfer->len; - dws->cs_change = transfer->cs_change; dws->len = dws->cur_transfer->len; if (chip != dws->prev_chip) cs_change = 1; diff --git a/drivers/spi/spi-dw.h b/drivers/spi/spi-dw.h index 9c57c078031e..5a5cd02ddb13 100644 --- a/drivers/spi/spi-dw.h +++ b/drivers/spi/spi-dw.h @@ -135,7 +135,6 @@ struct dw_spi { u8 n_bytes; /* current is a 1/2 bytes op */ u8 max_bits_per_word; /* maxim is 16b */ u32 dma_width; - int cs_change; irqreturn_t (*transfer_handler)(struct dw_spi *dws); void (*cs_control)(u32 command); |