diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-06-04 18:17:07 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-06 11:14:29 +0100 |
commit | 43e48cc3e65777bc8b252001c0184fca1c060758 (patch) | |
tree | 61d983af0d7a68c9a550c61d0627ca868a2fcffb /drivers/spi/spi-falcon.c | |
parent | ba9e4b4a652d01bce7299ad8ed9abb9c5701450a (diff) | |
download | linux-43e48cc3e65777bc8b252001c0184fca1c060758.tar.bz2 |
spi: falcon: Remove unnecessary platform_set_drvdata()
Drop call to platform_set_drvdata() as driver data is not used
anywhere in the driver.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-falcon.c')
-rw-r--r-- | drivers/spi/spi-falcon.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-falcon.c b/drivers/spi/spi-falcon.c index ba441ad9a007..f73b3004d6d3 100644 --- a/drivers/spi/spi-falcon.c +++ b/drivers/spi/spi-falcon.c @@ -425,8 +425,6 @@ static int falcon_sflash_probe(struct platform_device *pdev) master->unprepare_transfer_hardware = falcon_sflash_unprepare_xfer; master->dev.of_node = pdev->dev.of_node; - platform_set_drvdata(pdev, priv); - ret = devm_spi_register_master(&pdev->dev, master); if (ret) spi_master_put(master); |