Message ID | 20170209153221.2698-1-weiyj.lk@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 973f7dd575891d0e67469861b47f43175553f30a |
Headers | show |
diff --git a/drivers/spi/spi-bcm-qspi.c b/drivers/spi/spi-bcm-qspi.c index 227096a..b3745d4 100644 --- a/drivers/spi/spi-bcm-qspi.c +++ b/drivers/spi/spi-bcm-qspi.c @@ -1399,7 +1399,6 @@ int bcm_qspi_remove(struct platform_device *pdev) { struct bcm_qspi *qspi = platform_get_drvdata(pdev); - platform_set_drvdata(pdev, NULL); bcm_qspi_hw_uninit(qspi); clk_disable_unprepare(qspi->clk); kfree(qspi->dev_ids);