spi: pxa2xx: Remove empty function pxa2xx_spi_dma_resume()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 1 Oct 2015 15:23:18 +0000 (18:23 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 1 Oct 2015 16:26:27 +0000 (17:26 +0100)
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>
drivers/spi/spi-pxa2xx-dma.c
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-pxa2xx.h

index 66a173939be81e5f4b944b287991c7c99957ae49..bd8b369a343c98e0c98141295c9f73d63d65ce72 100644 (file)
@@ -344,10 +344,6 @@ void pxa2xx_spi_dma_release(struct driver_data *drv_data)
        }
 }
 
-void pxa2xx_spi_dma_resume(struct driver_data *drv_data)
-{
-}
-
 int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip,
                                           struct spi_device *spi,
                                           u8 bits_per_word, u32 *burst_code,
index aed9aabec14f71f38d8765b493414e25e4b8e193..22b473ebf60781b0920332799864999d7df3260c 100644 (file)
@@ -1598,8 +1598,6 @@ static int pxa2xx_spi_resume(struct device *dev)
        struct ssp_device *ssp = drv_data->ssp;
        int status = 0;
 
-       pxa2xx_spi_dma_resume(drv_data);
-
        /* Enable the SSP clock */
        if (!pm_runtime_suspended(dev))
                clk_prepare_enable(ssp->clk);
index fd7a7bc91b9f63c902854b9150c091113a838f11..514cf971707c07d471308b6b1968b76288d44a27 100644 (file)
@@ -169,7 +169,6 @@ extern int pxa2xx_spi_dma_prepare(struct driver_data *drv_data, u32 dma_burst);
 extern void pxa2xx_spi_dma_start(struct driver_data *drv_data);
 extern int pxa2xx_spi_dma_setup(struct driver_data *drv_data);
 extern void pxa2xx_spi_dma_release(struct driver_data *drv_data);
-extern void pxa2xx_spi_dma_resume(struct driver_data *drv_data);
 extern int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip,
                                                  struct spi_device *spi,
                                                  u8 bits_per_word,
@@ -190,7 +189,6 @@ static inline int pxa2xx_spi_dma_setup(struct driver_data *drv_data)
        return 0;
 }
 static inline void pxa2xx_spi_dma_release(struct driver_data *drv_data) {}
-static inline void pxa2xx_spi_dma_resume(struct driver_data *drv_data) {}
 static inline int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip,
                                                         struct spi_device *spi,
                                                         u8 bits_per_word,
This page took 0.027924 seconds and 5 git commands to generate.