PCIe: portdrv: call pci_disable_device during remove
authorAlex Chiang <achiang@hp.com>
Sun, 8 Mar 2009 04:46:49 +0000 (21:46 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 20 Mar 2009 17:48:16 +0000 (10:48 -0700)
commit745be2e700cdddd5da4e402854a484242c3628df
treee29464050d8b4102fddf7d89d5f3dab7115fcbaf
parent9efb5fe1b80a45130ba659ba755f24534c83301b
PCIe: portdrv: call pci_disable_device during remove

The PCIe port driver calls pci_enable_device when registering
ports, but never calls pci_disable_device during removal.

Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/portdrv_core.c