diff options
Diffstat (limited to 'drivers/spi/spi-topcliff-pch.c')
-rw-r--r-- | drivers/spi/spi-topcliff-pch.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-topcliff-pch.c b/drivers/spi/spi-topcliff-pch.c index cd56dcf46320..159dafd2f908 100644 --- a/drivers/spi/spi-topcliff-pch.c +++ b/drivers/spi/spi-topcliff-pch.c | |||
@@ -1536,8 +1536,6 @@ static int __devexit pch_spi_pd_remove(struct platform_device *plat_dev) | |||
1536 | 1536 | ||
1537 | pci_iounmap(board_dat->pdev, data->io_remap_addr); | 1537 | pci_iounmap(board_dat->pdev, data->io_remap_addr); |
1538 | spi_unregister_master(data->master); | 1538 | spi_unregister_master(data->master); |
1539 | spi_master_put(data->master); | ||
1540 | platform_set_drvdata(plat_dev, NULL); | ||
1541 | 1539 | ||
1542 | return 0; | 1540 | return 0; |
1543 | } | 1541 | } |