Merge remote-tracking branch 'spi/topic/core' into spi-next
[linux.git] / drivers / spi / spi-bfin5xx.c
index e35c19cff9cae02f26a4bc9d278b146b2c0bd200..59a73424419c8935c3428fea06247c08ced2d614 100644 (file)
@@ -1407,9 +1407,6 @@ static int bfin_spi_remove(struct platform_device *pdev)
 
        peripheral_free_list(drv_data->pin_req);
 
-       /* Prevent double remove */
-       platform_set_drvdata(pdev, NULL);
-
        return 0;
 }