spi: remove unnecessary platform_set_drvdata()
[deliverable/linux.git] / drivers / spi / spi-dw-mmio.c
index 4a6d5c9057a4428f61fb5937a01b40bec9b90ec0..4aa8be865cc06ae81d1145161086a89c9846723e 100644 (file)
@@ -111,8 +111,6 @@ static int dw_spi_mmio_remove(struct platform_device *pdev)
        struct dw_spi_mmio *dwsmmio = platform_get_drvdata(pdev);
        struct resource *mem;
 
-       platform_set_drvdata(pdev, NULL);
-
        clk_disable(dwsmmio->clk);
        clk_put(dwsmmio->clk);
        dwsmmio->clk = NULL;
This page took 0.027282 seconds and 5 git commands to generate.