diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2014-08-19 19:29:20 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-19 23:11:36 +0200 |
commit | 468e0f47ed87350408ddac0e942fbf9a723408f9 (patch) | |
tree | 64acdf1c101aaa04ba7a0f0cabfe62d3a83f7164 | |
parent | spi/pxa2xx-pci: Add common clock framework support in PCI glue layer (diff) | |
download | linux-468e0f47ed87350408ddac0e942fbf9a723408f9.tar.xz linux-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>
-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) 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[] = { |