diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2015-10-01 11:23:18 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-01 12:26:27 -0400 |
commit | 289de5541ca6aec56308c04b76c1bb59f00b1f09 (patch) | |
tree | e0e5b318cc9626962322abf8a611ae8f85418f0c | |
parent | b9f6940a437dcb8481df16b175359e126cf7bc33 (diff) |
spi: pxa2xx: Remove empty function pxa2xx_spi_dma_resume()
This was leftover from the legacy pxa2xx DMA implementation and not needed
anymore so remove it.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-pxa2xx-dma.c | 4 | ||||
-rw-r--r-- | drivers/spi/spi-pxa2xx.c | 2 | ||||
-rw-r--r-- | drivers/spi/spi-pxa2xx.h | 2 |
3 files changed, 0 insertions, 8 deletions
diff --git a/drivers/spi/spi-pxa2xx-dma.c b/drivers/spi/spi-pxa2xx-dma.c index 66a173939be8..bd8b369a343c 100644 --- a/drivers/spi/spi-pxa2xx-dma.c +++ b/drivers/spi/spi-pxa2xx-dma.c | |||
@@ -344,10 +344,6 @@ void pxa2xx_spi_dma_release(struct driver_data *drv_data) | |||
344 | } | 344 | } |
345 | } | 345 | } |
346 | 346 | ||
347 | void pxa2xx_spi_dma_resume(struct driver_data *drv_data) | ||
348 | { | ||
349 | } | ||
350 | |||
351 | int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip, | 347 | int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip, |
352 | struct spi_device *spi, | 348 | struct spi_device *spi, |
353 | u8 bits_per_word, u32 *burst_code, | 349 | u8 bits_per_word, u32 *burst_code, |
diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index aed9aabec14f..22b473ebf607 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c | |||
@@ -1598,8 +1598,6 @@ static int pxa2xx_spi_resume(struct device *dev) | |||
1598 | struct ssp_device *ssp = drv_data->ssp; | 1598 | struct ssp_device *ssp = drv_data->ssp; |
1599 | int status = 0; | 1599 | int status = 0; |
1600 | 1600 | ||
1601 | pxa2xx_spi_dma_resume(drv_data); | ||
1602 | |||
1603 | /* Enable the SSP clock */ | 1601 | /* Enable the SSP clock */ |
1604 | if (!pm_runtime_suspended(dev)) | 1602 | if (!pm_runtime_suspended(dev)) |
1605 | clk_prepare_enable(ssp->clk); | 1603 | clk_prepare_enable(ssp->clk); |
diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h index fd7a7bc91b9f..514cf971707c 100644 --- a/drivers/spi/spi-pxa2xx.h +++ b/drivers/spi/spi-pxa2xx.h | |||
@@ -169,7 +169,6 @@ extern int pxa2xx_spi_dma_prepare(struct driver_data *drv_data, u32 dma_burst); | |||
169 | extern void pxa2xx_spi_dma_start(struct driver_data *drv_data); | 169 | extern void pxa2xx_spi_dma_start(struct driver_data *drv_data); |
170 | extern int pxa2xx_spi_dma_setup(struct driver_data *drv_data); | 170 | extern int pxa2xx_spi_dma_setup(struct driver_data *drv_data); |
171 | extern void pxa2xx_spi_dma_release(struct driver_data *drv_data); | 171 | extern void pxa2xx_spi_dma_release(struct driver_data *drv_data); |
172 | extern void pxa2xx_spi_dma_resume(struct driver_data *drv_data); | ||
173 | extern int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip, | 172 | extern int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip, |
174 | struct spi_device *spi, | 173 | struct spi_device *spi, |
175 | u8 bits_per_word, | 174 | u8 bits_per_word, |
@@ -190,7 +189,6 @@ static inline int pxa2xx_spi_dma_setup(struct driver_data *drv_data) | |||
190 | return 0; | 189 | return 0; |
191 | } | 190 | } |
192 | static inline void pxa2xx_spi_dma_release(struct driver_data *drv_data) {} | 191 | static inline void pxa2xx_spi_dma_release(struct driver_data *drv_data) {} |
193 | static inline void pxa2xx_spi_dma_resume(struct driver_data *drv_data) {} | ||
194 | static inline int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip, | 192 | static inline int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip, |
195 | struct spi_device *spi, | 193 | struct spi_device *spi, |
196 | u8 bits_per_word, | 194 | u8 bits_per_word, |