ALSA: aoa: Use of_node_name_eq for node name comparisons
authorRob Herring <robh@kernel.org>
Wed, 5 Dec 2018 19:50:46 +0000 (13:50 -0600)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Dec 2018 09:54:54 +0000 (10:54 +0100)
commit157ab88ef64a2edccd722f120464109ceba9bac1
tree7ae227477e0e95cfbac7a8afeba70a6f5d720a2b
parent192a7122954001af2504a9abecfc0ad28532a6ee
ALSA: aoa: 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.

A couple of open coded iterating thru the child node names are converted
to use for_each_child_of_node() instead.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/fabrics/layout.c
sound/aoa/soundbus/i2sbus/core.c
sound/ppc/pmac.c
sound/ppc/tumbler.c