From: Gavin Shan Date: Wed, 24 Jul 2013 02:24:51 +0000 (+0800) Subject: powerpc/eeh: Remove reference to PCI device X-Git-Tag: v3.11-rc3~18^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ba178888b05a4efdaca7da528c170bd09f9687b;p=pandora-kernel.git powerpc/eeh: Remove reference to PCI device We will rely on pcibios_release_device() to remove the EEH cache and unbind EEH device for the specific PCI device. So we shouldn't hold the reference to the PCI device from EEH cache and EEH device. Otherwise, pcibios_release_device() won't be called as we expected. The patch removes the reference to the PCI device in EEH core. Signed-off-by: Gavin Shan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed