]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
of: Migrate of_find_node_by_name() users to for_each_node_by_name()
authorGrant Likely <grant.likely@linaro.org>
Wed, 4 Jun 2014 15:42:26 +0000 (16:42 +0100)
committerGrant Likely <grant.likely@linaro.org>
Thu, 26 Jun 2014 16:12:24 +0000 (17:12 +0100)
commitccdb8ed3b3c739fe99a6f2f474f7ffad3203485d
treef556b308a0fb81e00a39155596fab68374159cc5
parenta752ee56ad84bf9a35b8323af1ad22b03c1df2c4
of: Migrate of_find_node_by_name() users to for_each_node_by_name()

There are a bunch of users open coding the for_each_node_by_name() by
calling of_find_node_by_name() directly instead of using the macro. This
is getting in the way of some cleanups, and the possibility of removing
of_find_node_by_name() entirely. Clean it up so that all the users are
consistent.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Takashi Iwai <tiwai@suse.de>
arch/powerpc/platforms/powermac/feature.c
arch/powerpc/platforms/powermac/pci.c
arch/powerpc/platforms/powermac/smp.c
arch/powerpc/platforms/powermac/udbg_adb.c
arch/powerpc/platforms/pseries/setup.c
drivers/cpufreq/pmac64-cpufreq.c
drivers/edac/cell_edac.c
drivers/pci/hotplug/rpaphp_core.c
drivers/tty/serial/pmac_zilog.c
sound/ppc/pmac.c