Merge remote-tracking branch 'spi/topic/core' into spi-next
[linux.git] / drivers / spi / spi-pxa2xx.c
index cca27d840e1f0a2fd7f66a515cf4735a16fafdd1..d161d45e021e1ced53c8ad8aa85c89803452143a 100644 (file)
@@ -1283,9 +1283,6 @@ static int pxa2xx_spi_remove(struct platform_device *pdev)
        /* Disconnect from the SPI framework */
        spi_unregister_master(drv_data->master);
 
-       /* Prevent double remove */
-       platform_set_drvdata(pdev, NULL);
-
        return 0;
 }