diff options
author | Rob Herring <robh@kernel.org> | 2018-12-05 13:50:19 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-19 10:26:31 +0100 |
commit | f88fd666051b08eb3f3118e2dd8508bf0247af4c (patch) | |
tree | 9252559c67ade1b85b0b7bc19c03e44b67ddfe21 /Kconfig | |
parent | 15b3048aeed8bf8232156456c884ae94ed52d6cd (diff) |
char/rtc: 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.
The open coded iterating thru the child node names is converted to use
for_each_child_of_node() instead.
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions