summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-falcon.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-12-10 01:18:03 +0300
committerMark Brown <broonie@kernel.org>2014-12-11 16:26:01 +0300
commit7f6d62a2adc6c3a8eb7bbdceea2630634eb2d535 (patch)
treeb7fb5a09c51e5fbfee46d07941dd9eaeb2c58a8f /drivers/spi/spi-falcon.c
parent0e647037fed5632e7c5989ec359ab84c676888ac (diff)
downloadlinux-7f6d62a2adc6c3a8eb7bbdceea2630634eb2d535.tar.xz
spi/falcon: Remove hardware prepare and unprepare functions
They are completely empty and therefore serve no function. Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-falcon.c')
-rw-r--r--drivers/spi/spi-falcon.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c
index f73b3004d6d3..973ded3a398f 100644
--- a/drivers/spi/spi-falcon.c
+++ b/drivers/spi/spi-falcon.c
@@ -353,16 +353,6 @@ static int falcon_sflash_setup(struct spi_device *spi)
return 0;
}
-static int falcon_sflash_prepare_xfer(struct spi_master *master)
-{
- return 0;
-}
-
-static int falcon_sflash_unprepare_xfer(struct spi_master *master)
-{
- return 0;
-}
-
static int falcon_sflash_xfer_one(struct spi_master *master,
struct spi_message *m)
{
@@ -420,9 +410,7 @@ static int falcon_sflash_probe(struct platform_device *pdev)
master->mode_bits = SPI_MODE_3;
master->flags = SPI_MASTER_HALF_DUPLEX;
master->setup = falcon_sflash_setup;
- master->prepare_transfer_hardware = falcon_sflash_prepare_xfer;
master->transfer_one_message = falcon_sflash_xfer_one;
- master->unprepare_transfer_hardware = falcon_sflash_unprepare_xfer;
master->dev.of_node = pdev->dev.of_node;
ret = devm_spi_register_master(&pdev->dev, master);