diff options
| -rw-r--r-- | drivers/spi/spi-pxa2xx-pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c index 20ebbc764693..536c863bebf1 100644 --- a/drivers/spi/spi-pxa2xx-pci.c +++ b/drivers/spi/spi-pxa2xx-pci.c | |||
| @@ -123,7 +123,6 @@ static void pxa2xx_spi_pci_remove(struct pci_dev *dev) | |||
| 123 | 123 | ||
| 124 | platform_device_unregister(pdev); | 124 | platform_device_unregister(pdev); |
| 125 | clk_unregister(spi_pdata->ssp.clk); | 125 | clk_unregister(spi_pdata->ssp.clk); |
| 126 | pci_set_drvdata(dev, NULL); | ||
| 127 | } | 126 | } |
| 128 | 127 | ||
| 129 | static const struct pci_device_id pxa2xx_spi_pci_devices[] = { | 128 | static const struct pci_device_id pxa2xx_spi_pci_devices[] = { |
