ide: Use of_node_name_eq for node name comparisons
authorRob Herring <robh@kernel.org>
Wed, 5 Dec 2018 19:50:25 +0000 (13:50 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 22 Dec 2018 10:29:50 +0000 (21:29 +1100)
commitc1fa31b0fc90a80d64a334e5d35dca211f9187f6
treef2f31568de788f450d50210c3dc39abb04fc5bfd
parent2c8e65b595cf0bf7c1413404dff9b928a64d27cb
ide: 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.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linux-ide@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/ide/pmac.c