Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma
[firefly-linux-kernel-4.4.55.git] / drivers / spi / spi-pxa2xx-pci.c
index b2852947d3a2b6282ab9a4975a99cc9e9027167e..6beee8ce2d68fe4fe0daa516392d055af3e1ed20 100644 (file)
@@ -187,7 +187,6 @@ static void pxa2xx_spi_pci_remove(struct pci_dev *dev)
 
        platform_device_unregister(pdev);
        clk_unregister(spi_pdata->ssp.clk);
-       pci_set_drvdata(dev, NULL);
 }
 
 static const struct pci_device_id pxa2xx_spi_pci_devices[] = {