PCI: Use of_node_name_eq() for node name comparisons
authorRob Herring <robh@kernel.org>
Thu, 16 Apr 2020 21:51:14 +0000 (16:51 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Apr 2020 23:02:17 +0000 (18:02 -0500)
commitadc9fbcd7d04a711b765e8f7f5c2e07cbbac0f20
tree3f8bb268ea62c64cce308e2b14e7db3058d22d35
parenta6cec3fdbd72e9f975f2db2bbfd1847831478195
PCI: Use of_node_name_eq() for node name comparisons

Convert string compares of DT node names to use of_node_name_eq() helper
instead. This removes direct access to the node name pointer.

Link: https://lore.kernel.org/r/20200416215114.7715-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
drivers/pci/hotplug/rpaphp_core.c