diff mbox

[v1,09/12] spi/pxa2xx-pci: remove unnecessary assignment

Message ID 1408469363-15901-10-git-send-email-andriy.shevchenko@linux.intel.com (mailing list archive)
State Rejected
Headers show

Commit Message

Andy Shevchenko Aug. 19, 2014, 5:29 p.m. UTC
There is no need to unset driver data pointer at removal stage.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/spi/spi-pxa2xx-pci.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown Aug. 19, 2014, 9:12 p.m. UTC | #1
On Tue, Aug 19, 2014 at 08:29:20PM +0300, Andy Shevchenko wrote:
> There is no need to unset driver data pointer at removal stage.

Applied, thanks.
diff mbox

Patch

diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c
index 0424b67..c950ee2 100644
--- a/drivers/spi/spi-pxa2xx-pci.c
+++ b/drivers/spi/spi-pxa2xx-pci.c
@@ -153,7 +153,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[] = {