PCIe: portdrv: call pci_disable_device during remove
authorAlex Chiang <achiang@hp.com>
Sun, 8 Mar 2009 02:35:47 +0000 (19:35 -0700)
committerMatthew Wilcox <willy@linux.intel.com>
Thu, 12 Mar 2009 19:42:35 +0000 (15:42 -0400)
commitd89987193631bf23d1735c55d13a06d4b8d0e9bd
tree97305df555bbfe4fddcae33f85925bec3705ad0f
parent6a958d5b28e4a180458e0d319d2e4bb5c4b7da3e
PCIe: portdrv: call pci_disable_device during remove

The PCIe port driver calls pci_enable_device() during probe but
never calls pci_disable_device() during remove.

Cc: stable@kernel.org
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
drivers/pci/pcie/portdrv_pci.c