Skip to content

Commit

Permalink
spi/pxa2xx-pci: remove unnecessary assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Shevchenko authored and Mark Brown committed Aug 19, 2014
1 parent afa93c9 commit 468e0f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/spi/spi-pxa2xx-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit 468e0f4

Please sign in to comment.