diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-06-04 16:17:07 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-06 12:14:29 +0200 |
commit | 43e48cc3e65777bc8b252001c0184fca1c060758 (patch) | |
tree | 61d983af0d7a68c9a550c61d0627ca868a2fcffb /drivers/spi/spi-falcon.c | |
parent | spi: clps711x: Remove unnecessary platform_set_drvdata() (diff) | |
download | linux-43e48cc3e65777bc8b252001c0184fca1c060758.tar.xz linux-43e48cc3e65777bc8b252001c0184fca1c060758.zip |
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); |