spi: davinci: remove empty function davinci_spi_cleanup
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 16 Sep 2014 11:14:23 +0000 (14:14 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 16 Sep 2014 17:30:10 +0000 (10:30 -0700)
Remove empty function davinci_spi_cleanup().

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-davinci.c

index ff54f73dce4b55058b8bb4a64219d149b85b3a08..84a9fb1ab984f44f4bbb2ecf05c268442badfd17 100644 (file)
@@ -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;