Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mika Westerberg and committed by
Mark Brown
289de554 b9f6940a

-8
-4
drivers/spi/spi-pxa2xx-dma.c
··· 344 344 } 345 345 } 346 346 347 - void pxa2xx_spi_dma_resume(struct driver_data *drv_data) 348 - { 349 - } 350 - 351 347 int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip, 352 348 struct spi_device *spi, 353 349 u8 bits_per_word, u32 *burst_code,
-2
drivers/spi/spi-pxa2xx.c
··· 1598 1598 struct ssp_device *ssp = drv_data->ssp; 1599 1599 int status = 0; 1600 1600 1601 - pxa2xx_spi_dma_resume(drv_data); 1602 - 1603 1601 /* Enable the SSP clock */ 1604 1602 if (!pm_runtime_suspended(dev)) 1605 1603 clk_prepare_enable(ssp->clk);
-2
drivers/spi/spi-pxa2xx.h
··· 169 169 extern void pxa2xx_spi_dma_start(struct driver_data *drv_data); 170 170 extern int pxa2xx_spi_dma_setup(struct driver_data *drv_data); 171 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 172 extern int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip, 174 173 struct spi_device *spi, 175 174 u8 bits_per_word, ··· 189 190 return 0; 190 191 } 191 192 static inline void pxa2xx_spi_dma_release(struct driver_data *drv_data) {} 192 - static inline void pxa2xx_spi_dma_resume(struct driver_data *drv_data) {} 193 193 static inline int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip, 194 194 struct spi_device *spi, 195 195 u8 bits_per_word,