diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-05-03 15:41:42 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-05-11 21:54:25 +1000 |
commit | cdddc577d956d55a62581ba3681f8ba66eca3873 (patch) | |
tree | 59c307cc289f2c4aff0a48fba962c51f63cb9448 /arch/powerpc/kernel/pci-hotplug.c | |
parent | de5a28ac5a2d9619dc82286b08dadca577133bbe (diff) | |
download | blackbird-op-linux-cdddc577d956d55a62581ba3681f8ba66eca3873.tar.gz blackbird-op-linux-cdddc577d956d55a62581ba3681f8ba66eca3873.zip |
powerpc/pci: Export pci_traverse_device_nodes()
This renames traverse_pci_devices() to pci_traverse_device_nodes().
The function traverses all subordinate device nodes of the specified
one. Also, below cleanup applied to the function. No logical changes
introduced.
* Rename "pre" to "fn".
* Avoid assignment in if condition reported from checkpatch.pl.
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/pci-hotplug.c')
0 files changed, 0 insertions, 0 deletions