From: Gavin Shan Date: Thu, 27 Aug 2015 04:12:37 +0000 (+1000) Subject: powerpc/pseries: Cleanup on pci_dn_reconfig_notifier() X-Git-Tag: omap-for-v4.3/fixes-rc1~100^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea0f8acf4d44727f7d3a38072566029bf5e17b44;p=pandora-kernel.git powerpc/pseries: Cleanup on pci_dn_reconfig_notifier() This applies cleanup on pci_dn_reconfig_notifier(), no functional changes: * Rename variable "pci" to "pdn" to indicate its purpose clearly. * The parent node can be released at any time. So it should be hold with of_get_parent() before accessing it. * The device node doesn't have to have parent node in theory. More check on this. Signed-off-by: Gavin Shan Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed