From: Wei Yang Date: Wed, 23 Apr 2014 02:26:33 +0000 (+0800) Subject: powerpc/powernv: Release the refcount for pci_dev X-Git-Tag: omap-for-v3.16/pm-signed~36^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4966bfa1b3347ee75e6d93859a2e8ce9a662390c;p=pandora-kernel.git powerpc/powernv: Release the refcount for pci_dev On PowerNV platform, we are holding an unnecessary refcount on a pci_dev, which leads to the pci_dev is not destroyed when hotplugging a pci device. This patch release the unnecessary refcount. Signed-off-by: Wei Yang Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed