Skip to content

Commit

Permalink
spi/dw_spi: add a missed dw_spi_remove_host() in exit sequence
Browse files Browse the repository at this point in the history
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Feng Tang authored and Grant Likely committed Jan 20, 2010
1 parent b490e37 commit 51f921c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/spi/dw_spi_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 51f921c

Please sign in to comment.