diff options
Diffstat (limited to 'drivers/spi/spi-ep93xx.c')
-rw-r--r-- | drivers/spi/spi-ep93xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-ep93xx.c b/drivers/spi/spi-ep93xx.c index f1b14977abdf..15ea07d8f8d6 100644 --- a/drivers/spi/spi-ep93xx.c +++ b/drivers/spi/spi-ep93xx.c | |||
@@ -1123,7 +1123,6 @@ fail_put_clock: | |||
1123 | clk_put(espi->clk); | 1123 | clk_put(espi->clk); |
1124 | fail_release_master: | 1124 | fail_release_master: |
1125 | spi_master_put(master); | 1125 | spi_master_put(master); |
1126 | platform_set_drvdata(pdev, NULL); | ||
1127 | 1126 | ||
1128 | return error; | 1127 | return error; |
1129 | } | 1128 | } |
@@ -1158,7 +1157,6 @@ static int ep93xx_spi_remove(struct platform_device *pdev) | |||
1158 | 1157 | ||
1159 | ep93xx_spi_release_dma(espi); | 1158 | ep93xx_spi_release_dma(espi); |
1160 | clk_put(espi->clk); | 1159 | clk_put(espi->clk); |
1161 | platform_set_drvdata(pdev, NULL); | ||
1162 | 1160 | ||
1163 | spi_unregister_master(master); | 1161 | spi_unregister_master(master); |
1164 | return 0; | 1162 | return 0; |