summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pxa2xx-pci.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2014-08-19 20:29:20 +0300
committerMark Brown <broonie@linaro.org>2014-08-19 16:11:36 -0500
commit468e0f47ed87350408ddac0e942fbf9a723408f9 (patch)
tree64acdf1c101aaa04ba7a0f0cabfe62d3a83f7164 /drivers/spi/spi-pxa2xx-pci.c
parentafa93c9017fd48d4d5265854c75f5fcde0871548 (diff)
downloadlinux-stable-468e0f47ed87350408ddac0e942fbf9a723408f9.tar.gz
linux-stable-468e0f47ed87350408ddac0e942fbf9a723408f9.tar.bz2
linux-stable-468e0f47ed87350408ddac0e942fbf9a723408f9.zip
spi/pxa2xx-pci: remove unnecessary assignment
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>
Diffstat (limited to 'drivers/spi/spi-pxa2xx-pci.c')
-rw-r--r--drivers/spi/spi-pxa2xx-pci.c1
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)
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[] = {