staging: sm7xxfb: disable pci device

disable the pci device when the module exits.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sudip Mukherjee 2015-03-28 14:33:41 +05:30 committed by Greg Kroah-Hartman
parent 77371fbd44
commit f83e775d6e
1 changed files with 1 additions and 0 deletions

View File

@ -943,6 +943,7 @@ static void smtcfb_pci_remove(struct pci_dev *pdev)
unregister_framebuffer(&sfb->fb);
smtc_free_fb_info(sfb);
pci_release_region(pdev, 0);
pci_disable_device(pdev);
}
#ifdef CONFIG_PM