diff options
author | Feng Tang <feng.tang@intel.com> | 2010-01-20 20:49:45 (GMT) |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-01-20 20:49:45 (GMT) |
commit | 51f921c1eb1124fb99ab0728c19e8e14c82c81be (patch) | |
tree | 31e33f412316597801a08e3cdb41828a2e639f03 /drivers/spi | |
parent | b490e3704ccee12deb295f96029d68e0daf02feb (diff) | |
download | linux-fsl-qoriq-51f921c1eb1124fb99ab0728c19e8e14c82c81be.tar.xz |
spi/dw_spi: add a missed dw_spi_remove_host() in exit sequence
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/dw_spi_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/dw_spi_pci.c b/drivers/spi/dw_spi_pci.c index 34ba691..7980f14 100644 --- a/drivers/spi/dw_spi_pci.c +++ b/drivers/spi/dw_spi_pci.c @@ -98,6 +98,7 @@ static void __devexit spi_pci_remove(struct pci_dev *pdev) struct dw_spi_pci *dwpci = pci_get_drvdata(pdev); pci_set_drvdata(pdev, NULL); + dw_spi_remove_host(&dwpci->dws); iounmap(dwpci->dws.regs); pci_release_region(pdev, 0); kfree(dwpci); |