spi: Use of_node_name_eq for node name comparisons
authorRob Herring <robh@kernel.org>
Wed, 5 Dec 2018 19:50:41 +0000 (13:50 -0600)
committerMark Brown <broonie@kernel.org>
Thu, 6 Dec 2018 20:15:43 +0000 (20:15 +0000)
commit194276b073a10f04b420484bd81fa4dbb3ae0e1e
tree945eae48eb6b140c2b6364a0ae7db6b3a1463ca0
parentae218f7847fcf32e75ba82b1f3ab01fe53731d7a
spi: 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: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c