diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2015-08-27 06:12:37 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-08-28 03:33:51 +0200 |
commit | ea0f8acf4d44727f7d3a38072566029bf5e17b44 (patch) | |
tree | 64fe0ca1aa0a362ec0ddd9f88a0a1efece983b51 /arch/powerpc/kernel/eeh.c | |
parent | powerpc/pseries: Fix corrupted pdn list (diff) | |
download | linux-ea0f8acf4d44727f7d3a38072566029bf5e17b44.tar.xz linux-ea0f8acf4d44727f7d3a38072566029bf5e17b44.zip |
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 <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/eeh.c')
0 files changed, 0 insertions, 0 deletions