[PATCH] pciehp: Add missing pci_dev_put
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Fri, 12 May 2006 02:23:39 +0000 (11:23 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 19 Jun 2006 21:13:23 +0000 (14:13 -0700)
commit6e33706b191ff8687f103a86de842b690fd8fb9d
treec41ba3730a875f650d53feeaef8d853a5a1a5dd7
parent56bfada3e1a25c0da6f4590a4b04c67ec10910c2
[PATCH] pciehp: Add missing pci_dev_put

The PCIEHP driver leaks reference counter of pci_dev structures. This
patch adds missing pci_dev_put() calls to PCIEHP driver.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Cc: Kristen Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pciehp_pci.c