i2c: powermac: 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.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Rob Herring 2018-12-05 13:50:24 -06:00 • committed by Wolfram Sang
commit 48f9c33c25