[PATCH] powerpc/pseries: bugfix: balance calls to pci_device_put
authorLinas Vepstas <linas@austin.ibm.com>
Thu, 6 Apr 2006 20:41:41 +0000 (15:41 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 13 Apr 2006 16:34:15 +0000 (09:34 -0700)
Repeated calls to eeh_remove_device() can result in multiple
(and thus unbalanced) calls to pci_dev_put(). Make sure the
pci_device_put() is called only once (since there was only
one call to the matching pci_device_get()).

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found