mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 06:10:56 +00:00
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>
This commit is contained in:
parent
afa93c9017
commit
468e0f47ed
1 changed files with 0 additions and 1 deletions
|
@ -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[] = {
|
||||
|
|
Loading…
Reference in a new issue