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