diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2014-09-16 14:14:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-16 10:30:10 -0700 |
commit | 6e7488f8f6f68218bd52283f78f571466280ac96 (patch) | |
tree | f5b40c3fb74d3eee8c2578819dbccdd3941d2726 /drivers/spi/spi-davinci.c | |
parent | 8936decdd977ee614234153a1aba85d12329fa7a (diff) | |
download | linux-6e7488f8f6f68218bd52283f78f571466280ac96.tar.gz linux-6e7488f8f6f68218bd52283f78f571466280ac96.tar.bz2 linux-6e7488f8f6f68218bd52283f78f571466280ac96.zip |
spi: davinci: remove empty function davinci_spi_cleanup
Remove empty function davinci_spi_cleanup().
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-davinci.c')
-rw-r--r-- | drivers/spi/spi-davinci.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c index ff54f73dce4b..84a9fb1ab984 100644 --- a/drivers/spi/spi-davinci.c +++ b/drivers/spi/spi-davinci.c @@ -436,10 +436,6 @@ static int davinci_spi_setup(struct spi_device *spi) return retval; } -static void davinci_spi_cleanup(struct spi_device *spi) -{ -} - static int davinci_spi_check_error(struct davinci_spi *dspi, int int_status) { struct device *sdev = dspi->bitbang.master->dev.parent; @@ -951,7 +947,6 @@ static int davinci_spi_probe(struct platform_device *pdev) master->num_chipselect = pdata->num_chipselect; master->bits_per_word_mask = SPI_BPW_RANGE_MASK(2, 16); master->setup = davinci_spi_setup; - master->cleanup = davinci_spi_cleanup; dspi->bitbang.chipselect = davinci_spi_chipselect; dspi->bitbang.setup_transfer = davinci_spi_setup_transfer; |