spi/pxa2xx-pci: remove unnecessary assignment
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Aug 2014 17:29:20 +0000 (20:29 +0300)
committerMark Brown <broonie@linaro.org>
Tue, 19 Aug 2014 21:11:36 +0000 (16:11 -0500)
There is no need to unset driver data pointer at removal stage.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-pxa2xx-pci.c

index 20ebbc76469390370224ca56ad09b842fce867b0..536c863bebf1aee0658d1bda887c050a515769b6 100644 (file)
@@ -123,7 +123,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[] = {