diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2014-08-19 21:29:20 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-20 01:11:36 +0400 |
commit | 468e0f47ed87350408ddac0e942fbf9a723408f9 (patch) | |
tree | 64acdf1c101aaa04ba7a0f0cabfe62d3a83f7164 /drivers/spi/spi-pxa2xx-pci.c | |
parent | afa93c9017fd48d4d5265854c75f5fcde0871548 (diff) | |
download | linux-468e0f47ed87350408ddac0e942fbf9a723408f9.tar.xz |
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.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[] = { |