of: add node name compare helper functions
authorRob Herring <robh@kernel.org>
Mon, 27 Aug 2018 12:50:47 +0000 (07:50 -0500)
committerRob Herring <robh@kernel.org>
Thu, 30 Aug 2018 18:53:05 +0000 (13:53 -0500)
commitf42b0e18f2e5cf34f73ef1b6327b49040b307a33
tree483166e1216f21bc0ebabe76553a2c7940b0e9ca
parent36156f9241cb0f9e37d998052873ca7501ad4b36
of: add node name compare helper functions

In preparation to remove device_node.name pointer, add helper functions
for node name comparisons which are a common pattern throughout the kernel.

Cc: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/base.c
include/linux/of.h